将 telerik 的 RadAjaxManager 与嵌套的 ASCX 控件结合使用



我想使用telerik的RadAjaxManager嵌套ASCX控件

我有以下设置:

Page
   ascx1
     ascx2

ascx2嵌套在Page中的ascx1中。

我有一个RadAjaxManager在'页'。从ascx2中的控件中,我调用了一个javascript方法,该方法调用

ajax.ajaxRequest(arguments);

问题是它运行

protected void AjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e)

在ascx1中,而不是在ascx2中——

我错过了什么吗?

在子控件上使用:

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

最新更新