When I click edit button in even rows in gridview.
On RowDataBound event my row is identified as RowType Header. This is a problem cause I can't access cells in edit mode (editTemplateItem) of specific row. This is strange cause for odd rows everything works ok, Rows are identified as RowType DataRow. Is this normal behaviour?
2 Replies - 3981 Views - Last Post: 14 December 2011 - 05:22 AM
#1
problem even rows on edit command are marked as Header (gridview)
Posted 04 December 2011 - 06:06 AM
Replies To: problem even rows on edit command are marked as Header (gridview)
#2
Re: problem even rows on edit command are marked as Header (gridview)
Posted 04 December 2011 - 09:25 AM
I built simple example for debugging, but on this one, for both rows (first and secound) rows are identified as Header in RowDataBound Event (attached)
TestWEbsitefull.zip (270.94K)
Number of downloads: 47
TestWEbsitefull.zip (270.94K)
Number of downloads: 47
#3
Re: problem even rows on edit command are marked as Header (gridview)
Posted 14 December 2011 - 05:22 AM
hmm, not sure why you would be seeing it like that. When I run the code you provided the rows are identified as DataRows.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|