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

Docking problem with RadSlidingZone

1 Answer 62 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 2
Leo asked on 31 Oct 2013, 03:00 AM
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">
<div>
...
...
</div>
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>

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!

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 01 Nov 2013, 03:22 PM
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.

Regards,
Veselina Raykova
Telerik
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.
Tags
Splitter
Asked by
Leo
Top achievements
Rank 2
Answers by
Vessy
Telerik team
Share this question
or