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

JS error in grid paging click

2 Answers 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Avinash
Top achievements
Rank 2
Avinash asked on 12 Nov 2008, 11:20 AM
Hello all,

I am facing JS error when I click for grid's paging ir gives me "Sys.InvalidOperationExcetion: Type PageMethods has already been registered." error.
I have created a custom pager for displaying monthly data. To achieve same I have created a custom pager (MyPager) which replaces grid's current pager. The created pager is working great for filtering, displaying and navigating for selected month but whenever I click on pager changing the page I am geting JS error - "Sys.InvalidOperationExcetion: Type PageMethods has already been registered." and the thing is happening for every pager click.
Even I tried placing property EnableOutsideScripts to true but it didn't worked out.
I will appreciate if you can help me out.

Thanks,
Avi

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Nov 2008, 12:02 PM
Hi Avi,

If this is RadGrid "Classic" you can turn off the grid native ajax and use RadAjax for ASP.NET AJAX to ajaxify your scenario.

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Avinash
Top achievements
Rank 2
answered on 09 Dec 2008, 11:38 AM
This is done!
Gr8!

Thanks,
Avi
Tags
Grid
Asked by
Avinash
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Avinash
Top achievements
Rank 2
Share this question
or