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

Expand not restoring to original size

1 Answer 23 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Telerikuser
Top achievements
Rank 1
Telerikuser asked on 27 Jul 2009, 03:47 PM
My dock is not restoring to its original size when I expand after collapse. Here is my code. Any help is appreciated.

<

 

telerik:RadDockLayout runat="server" ID="RadDockLayout1" Skin="Web20" EnableEmbeddedSkins="false">

 

 

<telerik:raddockzone runat="server" id="RadDockZone1" orientation="Horizontal" Width="98%" Height="98%" minheight="95%" MinWidth="95%" HighlightedCssClass="DockHighlight">

 


<

 

telerik:raddock id="RadDock3" Skin="Outlook" title="mydock" runat="server" height="95%" width="30%" dockhandle="TitleBar" Resizable="true" DefaultCommands="ExpandCollapse, PinUnpin, Close">

 

 

<contenttemplate>

 

 

<ucControls:Control1 id="control1" runat="server" />

 

 

</contenttemplate>

 

 

</telerik:raddock>

 

 

 

</telerik:raddockzone>

 

 

 

 

 

 

</telerik:RadDockLayout>

 

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 30 Jul 2009, 09:49 AM
Hi Subi,

The RadDock control is designed to accept values specified in pixels for the Height property. If you specify percent values we cannot guarantee that the dock will behave as one would expect to. Our suggestion is to use only values specified in pixels.


Best wishes,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Dock
Asked by
Telerikuser
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or