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

Script error when paging too quickly

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Levi
Top achievements
Rank 1
Levi asked on 27 Oct 2008, 06:55 PM
If you check this demo:
http://demos.telerik.com/ASPNET/Prometheus/Grid/Examples/Programming/Slider/DefaultCS.aspx

You can see a script error gets raised if you change pages too quickly using the right arrow on the slider. When the error occurs, the paging stops working until a full page refresh is performed.

Thanks,
Levi

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Oct 2008, 10:13 AM
Hello Levi,

Indeed, such a behavior is observed.
This is because the scripts are not fully loaded in some scenarios, when clicking too quickly.
One possible solution in this case is to use the RequestStart/End client methods, and disable/enable the pager while the page is still loading. This will eliminate this issue.

Kind regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Levi
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or