Docking problem with RadSlidingZone

2 posts, 0 answers
  1. Leo
    Leo avatar
    6 posts
    Member since:
    Jun 2013

    Posted 30 Oct 2013 Link to this post

    Hi there,

    I'm currently having this problem with RadSlidingZone: When I click on Dock button, the SlidingPane collapses, and I cannot expand it again. Here's my code snippet:

    <telerik:RadPane ID="RadPane1" runat="server" Width="480" MinWidth="100" MaxWidth="500">
    <telerik:RadSlidingZone ID="SlidingZone1" runat="server" Width="22">
    <telerik:RadSlidingPane ID="SlidingPane1" runat="server" Title="Add Feature(s)" Width="500px" Height="530px" DockOnOpen="false" EnableDock="true">

    I'm not firing any server-side or client-side event on this SlidingZone. I hope you can help me figure out what went wrong. Thank you!
  2. Vessy
    Vessy avatar
    1350 posts

    Posted 01 Nov 2013 Link to this post

    Hi Long,

    By design, the purpose of the RadPane containing a RadSlidingZone is to wrap it and its size should be one and the same as the RadSlidinZone's size. The desired width have to be set to the  used SlidingZones.

    When a SlidingPane is docked, the parent RadPane is resized in order to render the docked pane inside and when the SlidingPane is undocked, it takes the SlidingZone's size (because they have to be the same). This comes to say, that the size of the RadPane1 from the above code snippet have to be equal to 22px in order to receive any consistent behavior of the control.

    I hope this information will be helpful for you.

    Veselina Raykova
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top