I have on the InitializeRow event of the grid to insert a row I am programatically creating.
I am inserting the row at the current row's index like
UltraWebGrid1.Rows.Insert(e.Row.Index, ugr);
It seems to be inserting the row I am programatically and overwriting the row at the index I am specifying.
What am I doing wrong?
Thanks
Hi Jack,
You can use the pageload event to add or insert the row after you databind. Do not use the InitialzeRow event to add the row. The event fires for each row when you bind the grid and this can cause conflicts in creating the rows.
Magued