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

Hold the checkbox value inside the radgrid after sorting or filtering

3 Answers 302 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Akki
Top achievements
Rank 1
Akki asked on 10 Jan 2012, 10:32 AM
Hi all,

I have a telerik radgrid in my page. In that check box column is there. If we check the checkbox and do the filtering or sorting for that column or other columns the checkbox will unchecked. Is any way is there to hold check box value. I got a solution for this by doing OnDataBound event in client side but I have arround 10,000 records so it will become little bit slower. so apart from this is any solution is there to hold the check box value after doing the sorting or filtering in the Grid. Thanks is advance for u r help.

Thanks,
Akki

3 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 10 Jan 2012, 11:13 AM
Hi,

I think that the following help article, which explains how to maintain CheckBox state in a GridTemplateColumn, will help you to achieve the desired result:
Persisting CheckBox control state in GridTemplateColumn on rebind

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Akki
Top achievements
Rank 1
answered on 12 Jan 2012, 11:10 AM
Thanks Pavlina,

It is working. But in my page one more issue is there i.e. AutoPostBack is used for the Checkbox inside the grid. It is working fine in Firefox but in IE browser it is taking too much time to load the page (nearly 5min) If I remove the AutoPostBack for the checkbox it will load quickly in IE browser but checkbox doesn't retain its value. Is any solution is there for this problem.

Thanks,
Pavan
0
Pavlina
Telerik team
answered on 12 Jan 2012, 11:27 AM
Hello,

The reason for the speed difference is that the IE Javascript engine is slower. You can refer to the link below for useful hints how to optimize grid performance:
http://www.telerik.com/products/aspnet-ajax/getting-started/top-performance.aspx

Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Akki
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Akki
Top achievements
Rank 1
Share this question
or