Problems using AJAX within a RadSplitter

4 posts, 0 answers
  1. Boris
    Boris avatar
    275 posts
    Member since:
    Oct 2012

    Posted 24 Apr 2014 Link to this post

    This is, in part, a continuation of my thread: http://www.telerik.com/forums/is-there-any-server-side-equivalent-of-the-endpane-expand-collapse-call

    I am more than a little confused about the use of Ajax within a RadSplitter. 

    The problem is this.  
        I have a form with a fairly complex RadSplitter containing RadPanes and RadSplitBars.  
       All important controls in the page are contained in RadPanes within the splitter.  
       What I need to do is to set the RadPane.Collapsed property of one RadPane to expose and hide a panel as needed. 
       I need to do this using the postback event of a RadComboBox within the splitter.

       Is this possible, and if so, how?

       
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Apr 2014 Link to this post

    Hi Boris,

    In case the RadComboBox is added within the splitter best approach would be to add the whole Splitter control to be ajaxified like this:
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadSplitter1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadSplitter1" UpdatePanelHeight="100%" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    Note in the provided markup that the UpdatePanleHeight for the Ajax setting is set to "100%" which should fix the RadSplitter height issue you mentioned in the forum.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Boris
    Boris avatar
    275 posts
    Member since:
    Oct 2012

    Posted 29 Apr 2014 in reply to Maria Ilieva Link to this post

    Thanks for your response but the original problem was solved in a separate forum thread. 

    I would like to ask how this is different from simply enclosing the entire splitter in a RadAjaxPanel. (My current approach.)
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 02 May 2014 Link to this post

    Hello Boris,

    Both approaches should work equally correct. I have proposed using RadAjaxManager only because you are requiring this functionality with  RadAjaxManager in the related forum thread.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top