RadAjaxManager Callback Question

2 posts, 0 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 19 May 2010 Link to this post

    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


     

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 May 2010 Link to this post

    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.
Back to Top