I've constructed a sliding pane inside of which is just a user control that contains a RadTreeView. I've added code such that when a bottom-level node is clicked then the RadSlidingPane collapses. It works well except for one thing: When I then reopen the pane the height of it is suddenly much larger than before. Please note that if I just open & close the pane without touching the treeview then this does not occur. Here's a short video illustrating the problem: http://mwtech.com/downloads/public/ExcessiveHeight.zip
Here's the layout code:
<telerik:RadSplitter ID="radSplitter" runat="server" LiveResize="false" Height="449">
<telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None">
<telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" ClickToOpen="true" DockedPaneId="radSlidingPane">
<telerik:RadSlidingPane ID="radSlidingPane" runat="server" Title="Rates" Width="272" BackColor="#F0F8FF" TabView="ImageOnly" IconUrl="~/Images/hierarchy.gif">
<asp:PlaceHolder ID="placeHolderHierarchy" runat="server" />
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
And here's the code to programmatically collapse the pane:
public void CollapseHierarchyPane()
{
RadSlidingZone radSlidingZone = (RadSlidingZone)this.FindControl("radSlidingZone");
if (radSlidingZone != null)
radSlidingZone.DockedPaneId = null;
}
Why is this occurring and how do I correct it?
Robert
Here's the layout code:
<telerik:RadSplitter ID="radSplitter" runat="server" LiveResize="false" Height="449">
<telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None">
<telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" ClickToOpen="true" DockedPaneId="radSlidingPane">
<telerik:RadSlidingPane ID="radSlidingPane" runat="server" Title="Rates" Width="272" BackColor="#F0F8FF" TabView="ImageOnly" IconUrl="~/Images/hierarchy.gif">
<asp:PlaceHolder ID="placeHolderHierarchy" runat="server" />
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
And here's the code to programmatically collapse the pane:
public void CollapseHierarchyPane()
{
RadSlidingZone radSlidingZone = (RadSlidingZone)this.FindControl("radSlidingZone");
if (radSlidingZone != null)
radSlidingZone.DockedPaneId = null;
}
Why is this occurring and how do I correct it?
Robert