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

RadSplitter auto expand

1 Answer 69 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
usr9999
Top achievements
Rank 1
usr9999 asked on 06 Jan 2011, 09:50 PM

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.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 11 Jan 2011, 06:37 PM
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.
Tags
Splitter
Asked by
usr9999
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or