Click here to Skip to main content
15,890,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDynamic Item tmpate inside gridview Pin
sekannak16-Sep-09 1:28
sekannak16-Sep-09 1:28 
Hi,

I am creating item template dynamically inside gridview in Asp.net 2.0.
The Item templates are sucessfully created.like as follows,

Assume below as a grid view Rows & Columns :

EmpID EmpName Basic HRA MA TA PF OTHER
-------------------------------------------------------------
1 Employe1 10000 1000 500 400 300 700
2 Employe2 20000 2000 800 600 400 800
3 Employe3 30000 2500 900 700 400 900
-------------------------------------------------------------

so the above coloumns as item template created dynamically First 2 column are labels and rest of the columns are textbox...So the first time loading the gridview with 3 rows empty - then i will enter data then i will save it to database... so UPTO here working fine...

Note:
The problem is i can change the text vaue from any rows any coloumn, i want find which rows and which cell was changed ,, how to find this..plz tell me ...

i ll give code snippet,

Gridview_RowCreatedEvent()
If e.Row.RowType = DataControlRowType.DataRow The
Dim txt As New TextBox
For inti = 0 To 7
strname = "txt" & inti
txt = CType(e.Row.FindControl(strname), TextBox)
AddHandler txt.TextChanged, AddressOf txt_TextChanged
Next
End If


Regards,
Sekannak....

kannak

AnswerRe: Dynamic Item tmpate inside gridview Pin
Christian Graus16-Sep-09 1:37
protectorChristian Graus16-Sep-09 1:37 
AnswerRe: Dynamic Item tmpate inside gridview Pin
Arun Jacob16-Sep-09 1:54
Arun Jacob16-Sep-09 1:54 
Questionajax controls not working fine..,when evets not fire for some time..., Pin
Member 387988116-Sep-09 0:52
Member 387988116-Sep-09 0:52 
AnswerRe: ajax controls not working fine..,when evets not fire for some time..., Pin
Christian Graus16-Sep-09 1:36
protectorChristian Graus16-Sep-09 1:36 
AnswerRe: ajax controls not working fine..,when evets not fire for some time..., Pin
Shalini_U16-Sep-09 3:11
Shalini_U16-Sep-09 3:11 
QuestionDatabinding Pin
Member 448708316-Sep-09 0:23
Member 448708316-Sep-09 0:23 
AnswerRe: Databinding Pin
Christian Graus16-Sep-09 1:35
protectorChristian Graus16-Sep-09 1:35 
AnswerRe: Databinding Pin
Muhammad Mazhar17-Sep-09 9:35
Muhammad Mazhar17-Sep-09 9:35 
QuestionAccess Denied in CreateDirectory with UNC Path Pin
Stephan Pilz15-Sep-09 23:49
Stephan Pilz15-Sep-09 23:49 
AnswerRe: Access Denied in CreateDirectory with UNC Path Pin
Christian Graus16-Sep-09 1:33
protectorChristian Graus16-Sep-09 1:33 
GeneralRe: Access Denied in CreateDirectory with UNC Path Pin
Stephan Pilz16-Sep-09 2:47
Stephan Pilz16-Sep-09 2:47 
Questionproblem in text box Pin
na3em 200915-Sep-09 23:48
na3em 200915-Sep-09 23:48 
AnswerRe: problem in text box Pin
Christian Graus16-Sep-09 1:32
protectorChristian Graus16-Sep-09 1:32 
Questionproblem due to use of modalpopupExtender Pin
saiftanoli15-Sep-09 22:12
saiftanoli15-Sep-09 22:12 
AnswerRe: problem due to use of modalpopupExtender Pin
Muhammad Mazhar17-Sep-09 9:37
Muhammad Mazhar17-Sep-09 9:37 
QuestionIp Address Pin
Ramkumar_S15-Sep-09 21:29
Ramkumar_S15-Sep-09 21:29 
AnswerRe: Ip Address Pin
Abhishek Sur15-Sep-09 21:43
professionalAbhishek Sur15-Sep-09 21:43 
AnswerRe: Ip Address Pin
Christian Graus15-Sep-09 21:49
protectorChristian Graus15-Sep-09 21:49 
AnswerRe: Ip Address Pin
Manas Bhardwaj15-Sep-09 21:52
professionalManas Bhardwaj15-Sep-09 21:52 
QuestionAny possibility to avoid cache in asp.net Pin
anushh15-Sep-09 21:18
anushh15-Sep-09 21:18 
AnswerRe: Any possibility to avoid cache in asp.net Pin
Christian Graus15-Sep-09 21:25
protectorChristian Graus15-Sep-09 21:25 
GeneralRe: Any possibility to avoid cache in asp.net Pin
anushh15-Sep-09 21:46
anushh15-Sep-09 21:46 
GeneralRe: Any possibility to avoid cache in asp.net Pin
Christian Graus15-Sep-09 21:50
protectorChristian Graus15-Sep-09 21:50 
GeneralRe: Any possibility to avoid cache in asp.net Pin
N a v a n e e t h15-Sep-09 22:13
N a v a n e e t h15-Sep-09 22:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.