【问题标题】:Using telerik's RadAjaxManager with nested ASCX controls将 Telerik 的 RadAjaxManager 与嵌套的 ASCX 控件一起使用
【发布时间】:2011-10-09 03:09:14
【问题描述】:

我想将 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 中 --

我错过了什么吗?

【问题讨论】:

    标签: asp.net ajax asp.net-ajax telerik radajaxmanager


    【解决方案1】:

    在您的子控件上,您应该使用:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-20
      • 1970-01-01
      • 2013-10-11
      • 1970-01-01
      相关资源
      最近更新 更多