Hi all,
I noticed that my dynamically created dock zones were falling outside of their container. I added a static dock zone and noticed that it too falls outside of this container. I'm at a loss.
I thought it might be the fact that I had Pane1 on the LHS of my RadSplitter. I set its visibility to false, but the dockzone just grew in size and continued hanging over one edge.
RadPane2's width is unset and the DockZone is housed inside of this. Could this be the problem? If so, what would a good solution be? I can't set the width in percentage, but that's what I would like to be doing. In addition, when inspecting the elements on the web page I found the width of RadPane2 to be correct.
The attached picture shows where the rounded corner looks fine inside the dockzone on the LHS, but because the dockzone extends too far on the RHS it gets chopped off. I also show the HTML markup where it is clear that the the RadPane is 1013 px (the width of the RadSplitter), but then the 100% width of the DockZone it is containing expands past it.
Thanks for your time,
Sean
EDIT: Sorry, there was something weird going on with my attachments. The image labeled "ActuallyCorrect.png" should be reflective of what I stated above.
I noticed that my dynamically created dock zones were falling outside of their container. I added a static dock zone and noticed that it too falls outside of this container. I'm at a loss.
<
telerik:RadSplitter
ID
=
"RadSplitter1"
Runat
=
"server"
Width
=
"100%"
BorderSize
=
"2"
OnClientLoad
=
"OnSplitterLoaded"
BackColor
=
"White"
CssClass
=
"RoundedStyle"
Height
=
"600px"
Skin
=
"Web20"
>
<
telerik:RadPane
ID
=
"RadPane1"
Runat
=
"server"
Scrolling
=
"None"
Width
=
"20px"
BackColor
=
"#6086C1"
>
<
telerik:RadSlidingZone
ID
=
"RadSlidingZone1"
Runat
=
"server"
ClickToOpen
=
"True"
BackColor
=
"#6086C1"
Width
=
"20px"
Skin
=
"Web20"
>
<
telerik:RadSlidingPane
ID
=
"RadSlidingPane1"
Runat
=
"server"
Title
=
"Settings"
Scrolling
=
"Y"
MinWidth
=
"160"
Width
=
"160px"
BackColor
=
"#ECF4FD"
>
<
telerik:RadListBox
ID
=
"lstBxSettings"
runat
=
"server"
Skin
=
"Web20"
EnableDragAndDrop
=
"True"
ondropped
=
"LstBxSettings_Dropped"
Width
=
"100%"
style
=
"top: 0px; left: 0px"
>
<
ButtonSettings
TransferButtons
=
"All"
/>
<
Items
>
<
telerik:RadListBoxItem
ListBox
=
"lstBxSettings"
Text
=
"Horizontal Bar"
/>
<
telerik:RadListBoxItem
ListBox
=
"lstBxSettings"
Text
=
"Vertical Bar"
/>
</
Items
>
</
telerik:RadListBox
>
</
telerik:RadSlidingPane
>
<
telerik:RadSlidingPane
ID
=
"RadSlidingPane2"
Runat
=
"server"
Title
=
"Custom"
Scrolling
=
"Y"
MinWidth
=
"160"
BackColor
=
"#ECF4FD"
>
<
telerik:RadListBox
ID
=
"lstBxCustom"
runat
=
"server"
EnableDragAndDrop
=
"True"
ondropped
=
"RadListBox_Dropped"
Skin
=
"Web20"
Sort
=
"Ascending"
Width
=
"100%"
>
<
ButtonSettings
TransferButtons
=
"All"
/>
</
telerik:RadListBox
>
</
telerik:RadSlidingPane
>
<
telerik:RadSlidingPane
ID
=
"RadSlidingPane3"
Runat
=
"server"
Title
=
"Historical"
Scrolling
=
"Y"
MinWidth
=
"160"
Width
=
"160px"
BackColor
=
"#ECF4FD"
>
<
telerik:RadListBox
ID
=
"lstBxHistorical"
runat
=
"server"
EnableDragAndDrop
=
"True"
ondropped
=
"RadListBox_Dropped"
Skin
=
"Web20"
Sort
=
"Ascending"
Width
=
"100%"
>
</
telerik:RadListBox
>
</
telerik:RadSlidingPane
>
</
telerik:RadSlidingZone
>
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane2"
Runat
=
"server"
MinHeight
=
"500"
BorderColor
=
"White"
Scrolling
=
"None"
CssClass
=
"RoundedStyle"
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
I thought it might be the fact that I had Pane1 on the LHS of my RadSplitter. I set its visibility to false, but the dockzone just grew in size and continued hanging over one edge.
RadPane2's width is unset and the DockZone is housed inside of this. Could this be the problem? If so, what would a good solution be? I can't set the width in percentage, but that's what I would like to be doing. In addition, when inspecting the elements on the web page I found the width of RadPane2 to be correct.
The attached picture shows where the rounded corner looks fine inside the dockzone on the LHS, but because the dockzone extends too far on the RHS it gets chopped off. I also show the HTML markup where it is clear that the the RadPane is 1013 px (the width of the RadSplitter), but then the 100% width of the DockZone it is containing expands past it.
Thanks for your time,
Sean
EDIT: Sorry, there was something weird going on with my attachments. The image labeled "ActuallyCorrect.png" should be reflective of what I stated above.