This is a migrated thread and some comments may be shown as answers.

AjaxManager and TabStrip

1 Answer 45 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Deepak Vasudevan
Top achievements
Rank 2
Deepak Vasudevan asked on 08 Dec 2011, 04:30 PM
I have an ajax manager in default.aspx defined as below

  <telerik:RadAjaxManager runat="server" ID="LDWorld">
              <AjaxSettings>
                 <telerik:AjaxSetting AjaxControlID="hllLove">
                    <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="hllLove" LoadingPanelID="pnlPeace" />
                       <telerik:AjaxUpdatedControl ControlID="radPrimaryTab" />
                       <telerik:AjaxUpdatedControl ControlID="radMultiPage" />
                    </UpdatedControls>
                 </telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnFriendship">
                    <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="btnFriendship" LoadingPanelID="pnlPeace" />
                       <telerik:AjaxUpdatedControl ControlID="rcbAnger" />
                       <telerik:AjaxUpdatedControl ControlID="rcbSmile" />
                    </UpdatedControls>
                 </telerik:AjaxSetting>  
              </AjaxSettings>   
</telerik:RadAjaxManager>

hllLove is in default.aspx and hence no issues. However btnFriendship, rcbAnger and rcbSmile are in 1.ascx loaded within pageview 1. 

Assuming if 2.ascx has an overlapping set of controls in this same name would it give an issue or RadAjaxManager would smartly take care of the same?

[P.S.: The names of the controls have been fictitiously provided because I can not give the exact names as in my current project]

1 Answer, 1 is accepted

Sort by
0
Casey
Top achievements
Rank 1
answered on 08 Dec 2011, 09:36 PM
You can't reference the controls inside of the user control in the definition of the RadAjaxManager on the default.aspx page. I believe that you'll need to add a RadAjaxManagerProxy to the 1.ascx and 2.ascx pages. Then you would set it up as follows: (something similar to: Ajax / User Controls/Master pages)

Hope this helps!
Casey

<telerik:RadAjaxManagerProxy runat="server" ID="LDWorldProxy">
              <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnFriendship">
                    <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="btnFriendship" LoadingPanelID="pnlPeace" />
                       <telerik:AjaxUpdatedControl ControlID="rcbAnger" />
                       <telerik:AjaxUpdatedControl ControlID="rcbSmile" />
                    </UpdatedControls>
                 </telerik:AjaxSetting>             
              </AjaxSettings>  
    </telerik:RadAjaxManagerProxy>
Tags
Ajax
Asked by
Deepak Vasudevan
Top achievements
Rank 2
Answers by
Casey
Top achievements
Rank 1
Share this question
or