How to clear the CheckedRows server side

8 replies. Last post: June 18, 2013 6:58 AM by John Bonin
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
John BoninMember

On my grid I have a RowChecker column.  A user will select one or more rows to do some action.  A button is clicked and all checkedrows are found and processed.  At the end the CacheDataSource is cleared and then rebind the grid.  This all works fine.  The problem now occurs when the user attempts to select another row and run the process again.  When I look at what is returned from the getCheckedRows funtion is the new record selected as well as the row selected in the previous selection, but since that previous record is no longer in the grid and error occurs.

 

How can I clear the CheckedRows between postbacks on server side?  I've tried GetCheckedRows().clear but that didn't seem to work.

 

 

All times are GMT -5. The time now is 4:32 PM.
Previous Next