AjaxManager and TabStrip

2 posts, 0 answers
  1. Deepak Vasudevan
    Deepak Vasudevan avatar
    82 posts
    Member since:
    May 2010

    Posted 08 Dec 2011 Link to this post

    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]
  2. Casey
    Casey avatar
    299 posts
    Member since:
    Jul 2009

    Posted 08 Dec 2011 Link to this post

    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>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top