This is a migrated thread and some comments may be shown as answers.

radgrid highlighted row problem

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Meng
Top achievements
Rank 1
Meng asked on 02 May 2011, 04:22 PM
Hi,

I need a row in the radgrid to be kept highlighted after the user navigate back to the original page using the pager. By default, if user navigates to a new page after selecting a row, the row will not be highlighted any more after navigating back to the original page. I thought session state might be a way for me to do this, but I failed to do so.

 I am new to telerik and not very familiar with rad controls. Could anyone please help me on how to do this?  Thanks a lot.

Meng

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 02 May 2011, 04:40 PM
Hi Meng,

RadGrid loses its current selection when the data is sorted, a new group or filter is added, or when the current page changes. How you can persist selection across these events is demonstrated in the articles below:

http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-on-sorting.html

http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html


Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Meng
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or