RadSplitter auto expand

2 posts, 0 answers
  1. usr9999
    usr9999 avatar
    41 posts
    Member since:
    Jun 2010

    Posted 06 Jan 2011 Link to this post

    I am using RadSplitter with two pans. The following is my code

    <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="600px" VisibleDuringInit="false">
         <telerik:RadPane ID="MainPane" runat="server" Width="100%" Height="600px">
              Main content
         </telerik:RadPane>

         <telerik:RadSplitBar ID="RadSplitbar1" runat="server">
         </telerik:RadSplitBar>

         <telerik:RadPane ID="RightPane" runat="server" Width="30" Scrolling="Both" Height="600px">
              Menu content
         </telerik:RadPane>

    </telerik:RadSplitter>

    However, I don’t want to specify the height. I would like it to auto expand based on the content of the MainPane so I can avoid the scroll bars.
    Currently, if I don’t specify the height, it is taking default of 400px.

    Any suggestions??

    Thanks in advance.

  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 11 Jan 2011 Link to this post

    Hello,

    Please review the following KB article demonstrating how to expand the splitter according to its content:
    Initially Resize the RadSplitter according to its content

    Regards,
    Dobromir
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top