Using telerik's RadAjaxManager with nested ASCX controls

孤人 提交于 2019-12-11 07:51:41

问题


I want to use telerik's RadAjaxManager with nested ASCX controls

I have the following setup:

Page
   ascx1
     ascx2

ascx2 is nested in ascx1 which is in Page.

I have a RadAjaxManager on 'Page'. From a control in ascx2, I invoke a javascript method which calls

ajax.ajaxRequest(arguments);

The problem is that it runs

protected void AjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e)

in ascx1 and not the one in ascx2 --

Am I missing something?


回答1:


On you child controls you should use the:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">


来源:https://stackoverflow.com/questions/6757911/using-teleriks-radajaxmanager-with-nested-ascx-controls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!