Last post Dec 08, 2011 09:35 PM by cbergenhem
Dec 03, 2011 09:53 AM|judejohn|LINK
I have a page with telerik rad grid. The get gets auto-refreshed in 5 sec. When i click on the row, the row highlights. But after 5 sec it goes. I want that particular row to remain selected.
Dec 08, 2011 09:35 PM|cbergenhem|LINK
What seems to be happening here is that then you auto-refresh the RadGrid it is being rebound and the selection is not being persisted. I believe the easiest way for you to go about persisting this data would be to save the selected rows in a variable on
the client side.
There's a good documentation article that covers how to do this for paging, sorting, and filtering over at the Telerik documentation website, which you can find
The example could also be adapted to when the RadGrid has finished loading and you manually find the particular row in question and select it. As you can see the
set_selected() function works on a GridDataItem (client-side object for a RadGrid row) to select it.