RadAjaxManager (aster manager events in the user control or content page)

2 posts, 0 answers
  1. Mirza Ifthekhar Baig
    Mirza Ifthekhar  Baig avatar
    1 posts
    Member since:
    Apr 2008

    Posted 15 Feb 2011 Link to this post

    Hi All,
    Please suggest me on this:

    Step 1: I have .aspx page which has a master page for it in which RadAjaxManager is placed.
    Step 2: In this page I have a user control say uc1 (along with RadManagerProxy) which holds another user control say uc2 in it along with a grid.
    Step 3: In uc2 I am having a rad window and other label controls. I am modifying some content in rad window and calling a javascript function in uc2 which is raised when we close rad window.
    Step 4: I am calling master manager events in uc1 to update the grid as specified in the following url: http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html
    Step5: My problem is the above code works fine when we have only one instance of both the controls i.e. uc1 & uc2. But when we have more than one instance of both controls in a page then updating one instance of uc2 will update rest of the instances of uc2 which is in uc1. That is it is calling manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(manager_AjaxRequest);
    as many times as we have instances. But I want to call that event only once for that particular instance. 

    I know its confusing, please let me know if anybody require further explanation.
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 18 Feb 2011 Link to this post

    Hi Mirza,

    I'm not completely sure if I correctly understand your scenario.
    Could you please open a regular support ticket and send us runnable version of your application so we could revise it locally and advise you further.

    Maria Ilieva
    the Telerik team

Back to Top