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

Error onn select all grid: "Stop running this script?"

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
soraya
Top achievements
Rank 1
soraya asked on 18 Jan 2013, 08:16 PM

Hi:

I have a a problem; I have a grid with select column , and when a want to select all the records I receive this error: "Stop running this script?", my grid has about 2300 records, when the number of records is less I dont have this problem, I try using the paging but when i want to select all records this accion only select the records from the selected page.

What can I do????

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Jan 2013, 04:04 PM
Hello,

To prevent such warning message, you must have less number of rows in the page. This is not the first time the issue is commented, and we did all that we could to optimize the selection. But this is as fast as it can be in order to be fully functional. You can take a look at this forum thread :
http://www.telerik.com/community/forums/aspnet/grid/slowness-of-the-quot-select-unselect-all-quot-check-box-operation-
in-radgrid.aspx


However, if you not need all the things that integrated selection is giving you (hovering, styling, automatic operations, event handling). You can simply make a template column with check-boxes, and make a custom 'select all' check-box. It will be quite fast to iterate over and just check/uncheck them. Then in post-back you can make some server side calculations depending on your needs.

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
soraya
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or