Hello,
We have a web application, where we are using UltraWebGrid version 9.1 for CLR 2.0. We are not assigning any datasource to the grid, but are creating UltraGridRows and UltraGridColumns in runtime, according to a dataset which brings in data pagewise. We want to add a new column as checkbox in this grid, and the requirement is that if the user checks any of the checkboxes and moves to another page, and then comes back to the previous page, the checkbox should retain the checked value. However, we are unable to do so. Moreover, we do not have any datakeys. Any pointers on how this can be implemented will be helpful.
Thanks.
Regards,
Rimi
Hi Rimi,
It is actually quite difficult to save and restore the state of the CheckBox without doing a DataBind and not using DataKeys. You will have to save the state in a hiddenfield, ViewState or save it to the database and retrieve it later. Please see the below post the same happens if you use paging. The solution given here uses the row's DataKey.
http://forums.infragistics.com/forums/p/13966/174645.aspx#174645
The following might help getting the checked/unchecked state of the checkbox cell.
http://forums.infragistics.com/forums/p/1329/11936.aspx#