Hi,
I have a Master page in my application which contains RadAjaxManager. One of the page that uses base page has two user controls. And both the user controls have RadAjaxManagerProxy. both the userControls have different javascript methods that use:-
var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
ajaxManager.ajaxRequest("ARGUMENTS");
and in the Page_Load of both the userControls ajaxRequest is wired to different events, like in userCtrl_1
protected void Page_Load(object sender, EventArgs e)
{
RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManagerUC_Ctrl_1);
}
and in userCtrl2 pageLoad is something like this:-
protected void Page_Load(object sender, EventArgs e)
{
RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManagerUC_Ctrl_2);
}
My problem is when I use both the user controls in the same page. and say userCtrl_1 fires its client side ajaxRequest the apart from execution of RadAjaxManagerUC_Ctrl_1, the second method RadAjaxManagerUC_Ctrl_2 also gets executed. Even though userControl_2 did not do anything.