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

Sliding Pane and RadSplitter Resizing

1 Answer 117 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Janus Knudsen
Top achievements
Rank 1
Janus Knudsen asked on 03 Jul 2008, 02:23 PM
Hello...

I've a webpage with RadSplitter and a single horizontal RadSplitBar and 2 panes, the one in the top is a sliding one and the one below is a static hosting a RadGrid..

<

telerik:RadSplitter ID="Radsplitter2" runat="server" Orientation="Horizontal" Width="100%" Height="100%">
<telerik:RadPane ID="Radpane1" runat="server" Height="22" Scrolling="none">

<telerik:RadSlidingZone ID="Radslidingzone2" runat="server" Height="22" SlideDirection="Bottom">
<telerik:RadSlidingPane ID="Radslidingpane4" Title="Filter Criteriums" runat="server" Height="150">

Pane1

</telerik:RadSlidingPane>

</telerik:RadSlidingZone>
</telerik:RadPane>

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

<telerik:RadPane ID="Radpane2" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="ODS_OpenIssues" GridLines="None" Skin="Office2007" AllowSorting="True" AutoGenerateColumns="False">
............. omitted.................

        </telerik:RadGrid>
    </telerik:RadPane>
</
telerik:RadSplitter>


Here...
You can see that the RadSplitter is 100% height, the grid is too long to be displayed without some scrolling. The browser automatically creates a vertical one (which is exactly what I want).
My problem comes here... when I dock the slidingpane, then suddenly the RadSplitter gets attached with a vertical scrollbar :(  and when I undock it don't go away.. it still keeps a small amount to be scrolled inside the RadSplitter

What should I do to avoid that extra scrollbar? As I see it the RadSplitter should be recalculated to know it's "new" height.. ?

Kind regards
Janus

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Jul 2008, 09:52 AM
Hi Janus,

I tried to reproduce the problem in a test project, based on your code but unfortunately to no avail - the vertical scrollbar of the RadPane is present when you load the page without docking the RadSlidingPane. This is the expected behavior, in order to make only the browser scrollbar to appear you should write some custom javascript code which I did not see in the provided code.

Would you please open a new support ticket and send me a fully working, reproduction demo (or modify mine) along with a detailed explanation of the desired appearance and some screenshots? Once I have a better understanding on your layout I will do my best to help.


Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Janus Knudsen
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or