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
145
UltraWebGrid: Dataloss on PageIndexChanged-Event
posted

Hello there,

we just encountered the following problem with the UltraWebGrid 2010.3 in .NET 4:

We updated our NetAdvantage from 2007.1 to 2010.3 and also our .NET Framework from 1.1 to 4.

Everything seemed to work fine, but now I found that our changed data in an UltraWebGrid is lost when we change the page of the grid.

This is because the PageIndexChanged event is now fired before the UpdateCellBatch-Event and we have to rebind our grid on PageIndexChanges. So all edited cells are lost. What can we do against this behavior. The UpdateCellBatch Event should fire first!

Regards

 

Parents
No Data
Reply
  • 19693
    posted

    Hello esourceone ,

    I suggest either setting EnableInternalRowsManagement to True.

    This will increase the size of the view state, but the events will be fired

    since the rows are not being removed when a page is switched.

    Or you can switch to the ajax mode and handle tyhe UpdateRow event

    which will be fired immediately after a row (several cells in a row) is updated.

Children
No Data