使用Telerik的RadAjaxManager嵌套ASCX控制 [英] Using telerik's RadAjaxManager with nested ASCX controls

查看:152
本文介绍了使用Telerik的RadAjaxManager嵌套ASCX控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Telerik的RadAjaxManager嵌套ASCX控制

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

我有以下设置:

Page
   ascx1
     ascx2

ascx2嵌套在ascx1这是在页。

ascx2 is nested in ascx1 which is in Page.

我在页面一RadAjaxManager。 从在ascx2控制,我调用它调用

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)

在ascx1,而不是一个在ascx2 -

in ascx1 and not the one in ascx2 --

我缺少的东西?

推荐答案

在你的孩子控制,你应该使用:

On you child controls you should use the:

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

这篇关于使用Telerik的RadAjaxManager嵌套ASCX控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆