Hi. I need a help.
I'm using Webgrid on Infragistics .Net 2008 CLR 2.0 .
The problem is when I add new rows by AddNewRowBox or AddNewRowDefault what ever, UGrid_UpdateRowBatch evnet is fired instead of UGrid_AddRowBatch event.
And in the UGrid_UpdateRowBatch event method, the row index is the last index of the grid row. For example, if there is 5 rows in the grid. the last row index of grid would be 4. Then when I add one or more and submit, then the UGrid_UpdateRowBatch event is fired only once and in the method the e.Row.Index value is 4. Adding new row working like updating last row in my code. Do you have any idea what I missed?
I've found it hapen when using LoadOnDemand.
I made simple source without LoadOnDemand. It worked collectly. Then
I've changed code to using LoadOnDemand. The problem I mentioned happen again.
Can't I use both of LoadOnDemand and Add/UpdateRowBatch?
mamahaha said:Can't I use both of LoadOnDemand and Add/UpdateRowBatch?