Hello,
I have an Ajaxified RadGrid with a nestedViewTemplate beneath the MasterTableView. On the nested template, there is a RadTabStrip with two tabs, each containing another RadGrid. The main grid and the nested grids all use cached datasets as their datasources, so they are configured with the NeedDataSource events.
I have a method which clears the cache and then calls the Rebind method of the main grid (thus undoing any changes the user made to the data), which repopulates the cache and binds it to the grid. The problem I am having is this: after the rebind method is called from this method, I cannot expand any rows in the master table view. When I click the 'Expand' button after calling this method, the IE status bar changes from 'Done' to 'Error on Page' only if one of the sub-grids had a row in edit mode prior to the rebind. The details of the error are:
Line: 6503
Char: 28
Error: Object required
Code: 0
URL: [aspx page url]
I have noticed that if I click any other itemCommands (edit/delete) after this error has occurred, the Grid causes a full postback and then I am able to expand the rows.
I have tried both setting the datasource to null or an empty object before rebinding, and looping through the grid items before rebinding and setting Edit=false or Expanded=false. Neither of these had any result.
I have an Ajaxified RadGrid with a nestedViewTemplate beneath the MasterTableView. On the nested template, there is a RadTabStrip with two tabs, each containing another RadGrid. The main grid and the nested grids all use cached datasets as their datasources, so they are configured with the NeedDataSource events.
I have a method which clears the cache and then calls the Rebind method of the main grid (thus undoing any changes the user made to the data), which repopulates the cache and binds it to the grid. The problem I am having is this: after the rebind method is called from this method, I cannot expand any rows in the master table view. When I click the 'Expand' button after calling this method, the IE status bar changes from 'Done' to 'Error on Page' only if one of the sub-grids had a row in edit mode prior to the rebind. The details of the error are:
Line: 6503
Char: 28
Error: Object required
Code: 0
URL: [aspx page url]
I have noticed that if I click any other itemCommands (edit/delete) after this error has occurred, the Grid causes a full postback and then I am able to expand the rows.
I have tried both setting the datasource to null or an empty object before rebinding, and looping through the grid items before rebinding and setting Edit=false or Expanded=false. Neither of these had any result.