Last Updated: 06 Jun 2014 07:15 by ADMIN
Created on: 28 May 2014 12:23
Category: GridView
Type: Feature Request
NullReferenceException when the GridView is grouped and rebound in the CellEditedEnded event handler
The NullReferenceException is observed when the GridView is Grouped and rebound in the CellEditedEnded event handler.
1 comment
Posted on: 06 Jun 2014 07:14
Calling Rebind in CellEditEnded is not recommended since the elements are recreated and the cell does not have a parent at all at that time. If the grid is not grouped, the same approach (with calling Rebind) results in StackOverflow. This scenario puts the grid into an unstable state as it tries to recreate the elements and at the same time the rest of the operations on committing cell edit should be performed.