Before Implementing Column Sorting on the grid this server side code used to work and insert the row correctly into row position 0 on the grid.
Now it inserts into row position 7
Changing the index to any number results in the same insert position except using
the index 7 will correct the problem and insert at position 0
Infragistics.WebUI.UltraWebGrid.UltraGridRow
DrawWebGrid1.Rows.Insert(0, dummyrow)
DrawWebGrid1.Rows(0).Cells(1).Value = 0
DrawWebGrid1.Rows(0).Hidden =
False
Hello Ed,
Would you give us more information about your scenario? Which Infragistic version are you using? What you mean with “before implementing column sorting”? Do you mean before subscribing for the event? Can you paste here the markup of you ultrawebgrid?
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Lyuba, sorry my fault, a Friday afternoon frustration post. I missed that the PreRender event was getting called and some code in that event caused my problem.
I just made this post if you can suggest anything to help! I have a 2 day deadline and I can't figure a way around this other than writting some serious hack code. I have had a problems ever since adding WARP panels and sort column capability around my application with webtabs and webgrid.
------- posted under WebGrid today
I update my DB using UpdateRowBatch , GridChange events on a button click.
After adding WARP and the column sort feature I now have the problem of the UpdateRowBatch event getting fired when the user clicks the SortColumn header and Sync postback occurs.
Trying to find out if any one might know of a work around to prevent the UpdateRowBatch from getting fired until there is a Full Postback?
Thanks