Can't update rowChecker in any events that occur after client binding

1 reply. Last post: May 10, 2013 5:01 AM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

We have a grid (version 7.0.7200.533) that is bound on the client through web services. This grid contains a rowChecker column that allows users to select items in the grid.

The application mimics a file management system, which allows the user to navigate a tree folder structure. Each time a different folder is selected, the grid is refreshed with information related to that folder.

As the user selects items, we persist information about the selected items in a separate window so that the user can select multiple items from separate folders.

When the user navigates to a folder, we use the OnInitializeRow client event to show the user any items that they had previously selected in that folder.

This has worked for a very long time, but in the recent past we updated to a service release (not exactly sure which one broke it) that caused this to stop working. No matter what value we set (the cell value directly, the Check property on the row, or the Check() method on the row), the RowChecker cell is not set.

We have also tried hooking the OnPostRender and OnDataBound methods with an equal amount of failure.

Or final hack at this issue was to collect the list of rows to be checked in OnInitializeRow, then in OnPostRender, set a timeout with code to process the list of rows and call Check() on each of them. This works, but is a dreadful hack.

Is there any way to get back to the previous behavior?

All times are GMT -5. The time now is 1:34 AM.
Previous Next