In my dnn web site,I have two modules.
moduleA : Client side will call ajaxmanager.ajaxRequest or ajaxmanager.ajaxRequestWithTarget function to refresh some information in server side.
moduleB : There is a RadAjaxPanel.
When moduleA raises an ajaxRequest, at the same time moduleB does some action to trigge RadAjaxPanel.
In this situation, both moduleA and moduleB stop working(server side function cannot complete).
moduleA's Server side event
moduleA's javascript
moduleA : Client side will call ajaxmanager.ajaxRequest or ajaxmanager.ajaxRequestWithTarget function to refresh some information in server side.
moduleB : There is a RadAjaxPanel.
When moduleA raises an ajaxRequest, at the same time moduleB does some action to trigge RadAjaxPanel.
In this situation, both moduleA and moduleB stop working(server side function cannot complete).
moduleA's Server side event
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) |
{ |
AddMsg(HiddenMsg.Value); |
} |
protected void RadRotator1_Load(object sender, EventArgs e) |
{ |
AddMsg(HiddenMsg.Value); |
} |
function SuccessHandler(message) { |
try |
{ |
var hidden = document.getElementById("<%=HiddenMsg.ClientID %>"); |
hidden.value= message; |
ajaxManager.ajaxRequestWithTarget("<%=RadRotator1.UniqueID %>",''); |
//ajaxManager.ajaxRequest(message); |
} |
catch (e) |
{ |
} |
} |