Hello
I have a simple raddocklayout, with 2 dock zones and one raddock.
The doc is acting as a toolbar and has a few buttons in it, and it will doc to the top or left of my content pane, which at the moment for testing purposes is a blank image.
The dock starts off at the top and looks fine and all the buttons are horizontally next to each other, when I drag it to the left it resizes its self and the buttons fall below each other.
If I drag the RadDock out of the dockzones the buttons fall horizontally next to each other again, but if I drag the Dock from the left DockZone straight to the top dockzone the RadDock doesn't resize, and I get a vertical scroll bar..
It appears as a bug as it seems strange that it resizes when I drag to the left zone.
Here is my code, could you advise if I am doing something wrong, or if it is indeed a bug.
Thanks
Bex
I have a simple raddocklayout, with 2 dock zones and one raddock.
The doc is acting as a toolbar and has a few buttons in it, and it will doc to the top or left of my content pane, which at the moment for testing purposes is a blank image.
The dock starts off at the top and looks fine and all the buttons are horizontally next to each other, when I drag it to the left it resizes its self and the buttons fall below each other.
If I drag the RadDock out of the dockzones the buttons fall horizontally next to each other again, but if I drag the Dock from the left DockZone straight to the top dockzone the RadDock doesn't resize, and I get a vertical scroll bar..
It appears as a bug as it seems strange that it resizes when I drag to the left zone.
Here is my code, could you advise if I am doing something wrong, or if it is indeed a bug.
<style type="text/css"> |
#wrapper |
{ |
text-align: left; |
margin: 0px auto; |
padding: 0px; |
border: 0; |
width: 600px; |
} |
#head |
{ |
float: left; |
width: 505px; |
} |
#corner |
{ |
float: left; |
width: 95px; |
color: Red; |
} |
#side-a |
{ |
height: 500px; |
float: left; |
width: 95px; |
text-align: left; |
} |
#side-b |
{ |
margin: 0; |
float: left; |
width: 505px; |
} |
</style> |
<asp:ScriptManager ID="ScriptManager" runat="server" /> |
<telerik:RadDockLayout ID="RadDockLayoutMain" runat="server"> |
<div id="wrapper"> |
<div id="corner"> |
</div> |
<div id="head"> |
<telerik:RadDockZone BorderWidth="0" ID="dockTop" Height="40" Width="500" runat="server" |
Orientation="Horizontal"> |
<telerik:RadDock BorderWidth="0" ID="RadDock1" runat="server" DockHandle="Grip"> |
<ContentTemplate> |
<asp:Button ID="button1" runat="server" Text="butt1" /> |
<asp:Button ID="button2" runat="server" Text="butt2" /> |
<asp:Button ID="button3" runat="server" Text="butt3" /> |
<asp:Button ID="button4" runat="server" Text="butt4" /> |
</ContentTemplate> |
</telerik:RadDock> |
</telerik:RadDockZone> |
</div> |
<div id="container"> |
<div id="side-a"> |
<telerik:RadDockZone Height="500" BorderWidth="0" ID="dockLeft" runat="server" Orientation="Vertical"> |
</telerik:RadDockZone> |
</div> |
<div id="side-b"> |
<img src="" width="500" height="500" /> |
</div> |
</div> |
</div> |
</telerik:RadDockLayout> |
Thanks
Bex