2011-07-20 41 views
1

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

我有以下设置:

Page 
    ascx1 
    ascx2 

ascx2嵌套在ascx1这是在页。

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

ajax.ajaxRequest(arguments); 

问题JavaScript方法是,它运行

protected void AjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e) 

在ascx1,而不是一个在ascx2 -

上午我遗漏了什么?

回答

1

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

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

你怎么称呼它们 – Rob