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

ajaxRequest in Content Page

3 Answers 159 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Raymond Mui
Top achievements
Rank 1
Raymond Mui asked on 27 May 2008, 09:34 AM
I have a classic master/content page structure.  I wanted a RadGrid refresh in the content page from the client-side javascript.  As usual, I have a AjaxManagerProxy in the content page and a AjaxManager in the master page.

As I read from other thread, if I want a client-side triggered rebind/refresh of the RadGrid, I need to use ajaxRequest of the AjaxManager, smiliar to the following:

find$("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("Rebind")

My question: do I set up the server-side AjaxRequest event in the MasterPage.  If yes, then I have to set up many cases, such as "rebind1", "rebind2", if I have many different content pages?

Am I looking it in the wrong way?

Thanks

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 27 May 2008, 09:52 AM
Hello Raymond,

How to operate with the ajax manager in master page scenario and invoke the ajaxRequest(eventArgs) method/hook its AjaxRequest event you can learn from the following online resources:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Ajax/Examples/Manager/MasterPage/DefaultCS.aspx
http://www.telerik.com/help/aspnet-ajax/ajxajaxmasterpage.html

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
appdev
Top achievements
Rank 1
answered on 20 Apr 2012, 04:35 AM
i can't get to these links any more it said not found
0
Pavlina
Telerik team
answered on 20 Apr 2012, 08:42 AM
Hi,

The correct link is:
http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/usercontrol/defaultcs.aspx

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
Ajax
Asked by
Raymond Mui
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
appdev
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or