Sliding Pane and RadSplitter Resizing

2 posts, 0 answers
  1. Janus Knudsen
    Janus  Knudsen avatar
    2 posts
    Member since:
    May 2008

    Posted 03 Jul 2008 Link to this post


    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">




    <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.................


    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
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 08 Jul 2008 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top