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

RadAjaxManager Callback Question

1 Answer 111 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 19 May 2010, 07:58 PM
Hi,
In my codebehind of a content page I have teh following on the page load:

AddHandler

 

RadAjaxManager.GetCurrent(Page).AjaxRequest, AddressOf RadAjaxManager1_AjaxRequest

In some javascript I have the following:

 

 

var ram = $find("ctl00_RadAjaxManager1");

 

ram.ajaxRequestWithTarget(

"ctl00$RadAjaxManager1", "DoSomething");

This works great. I get the event on the server side. However, if I try to update control nothing happens.
Since the RadAjaxManager is not a control on the content page (it's on the masterpage) and since the RadAjaxManagerProxy is not one of the options of the controls that will initiate a request, I can't see how to tell the thing what controls I want updated in the case of the ram.ajaxRequestWithTarget("ctl00$RadAjaxManager1", "DoSomething") call.

Can anyone help?
Thanks ... Ed


 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 May 2010, 03:15 PM
Hello,

I hope the following links would be helpful in setting AjaxSettings dynamically to update controls in master/content pages.
MasterPages: ajaxify and update controls in master and content page
MasterPages: initiating requests from one ContentPlaceHolder and loading/updating controls in another

-Shinu.
Tags
Ajax
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or