Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
AddNewRow working like Updating last row in the grid problem.
posted

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?

 

Parents Reply Children