Hello,
My project contains a RadSplitter. It contains: RadTabStrip and RadMultiPage. Inside the RadMultiPage there is a RadPageView. Inside the RadPageView there is another RadSplitter.
The RadSplitter contains 3 RadPanes: RadPane_Header, RadPane_Main and RadPane_Footer. The RadPane_Header and the RadPane_Footer have a fixed size in pixels. The RadPane_Main should fill all the remaining space. The project’s requirements are that the RadPane_Header should dock to top of the page and the RadPane_Footer should dock to the bottom of the page. Also, it is required that the internal RadSplitter will fill 100% of the RadPageView’s size.
Currently the inner splitter’s size is much smaller than the size of the page.
Only when the user resizes the browser’s window, the inner splitter changes its size to the appropriate size, i.e. it resizes to fill the whole page.
Please see the following video:
http://youtu.be/uMm2FJEO4Ic
My code:
How can I solve this?
Thank you,
Daniel.
My project contains a RadSplitter. It contains: RadTabStrip and RadMultiPage. Inside the RadMultiPage there is a RadPageView. Inside the RadPageView there is another RadSplitter.
The RadSplitter contains 3 RadPanes: RadPane_Header, RadPane_Main and RadPane_Footer. The RadPane_Header and the RadPane_Footer have a fixed size in pixels. The RadPane_Main should fill all the remaining space. The project’s requirements are that the RadPane_Header should dock to top of the page and the RadPane_Footer should dock to the bottom of the page. Also, it is required that the internal RadSplitter will fill 100% of the RadPageView’s size.
Currently the inner splitter’s size is much smaller than the size of the page.
Only when the user resizes the browser’s window, the inner splitter changes its size to the appropriate size, i.e. it resizes to fill the whole page.
Please see the following video:
http://youtu.be/uMm2FJEO4Ic
My code:
html, body, form, RadPageView
{
height
:
100%
;
margin
:
0px
;
padding
:
0px
;
overflow
:
hidden
;
}
.ContentPane {
height
:
auto
!important
;
}
<
div
id
=
"ParentDivElement"
style
=
"height: 100%;"
>
<
telerik:RadSplitter
ID
=
"MainSplitter"
runat
=
"server"
Height
=
"100%"
Width
=
"100%"
Orientation
=
"Horizontal"
Skin
=
"Outlook"
>
<
telerik:RadPane
ID
=
"TopPane"
runat
=
"server"
Height
=
"100"
MinHeight
=
"85"
MaxHeight
=
"150"
Scrolling
=
"none"
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
ID
=
"RadsplitbarTop"
runat
=
"server"
CollapseMode
=
"Forward"
/>
<
telerik:RadPane
ID
=
"MainPane"
runat
=
"server"
Scrolling
=
"none"
MinWidth
=
"500"
>
<
telerik:RadSplitter
ID
=
"NestedSplitter"
runat
=
"server"
Skin
=
"Outlook"
LiveResize
=
"true"
>
<
telerik:RadPane
ID
=
"LeftPane"
runat
=
"server"
Width
=
"200"
MinWidth
=
"150"
MaxWidth
=
"400"
></
telerik:RadPane
>
<
telerik:RadSplitBar
ID
=
"VerticalSplitBar"
runat
=
"server"
CollapseMode
=
"Forward"
/>
<
telerik:RadPane
ID
=
"ContentPane"
runat
=
"server"
CssClass
=
"ContentPane"
>
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
=
"server"
MultiPageID
=
"RadMultiPage1"
SelectedIndex
=
"0"
>
<
Tabs
>
<
telerik:RadTab
Text
=
"Grid"
Value
=
"Grid1"
></
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Chart"
Value
=
"Chart1"
></
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Grid_Chart"
Value
=
"Grid_Chart"
></
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
SelectedIndex
=
"0"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
></
telerik:RadPageView
>
<
telerik:RadPageView ID
=
"RadPageView2"
runat
=
"server"
>
<
div
id
=
"Div1"
style
=
"height: 100%;"
>
<
telerik:RadSplitter
ID
=
"RadSplitter_Chart"
runat
=
"server"
Orientation
=
"Horizontal"
Height
=
"100%"
Width
=
"100%"
>
<
telerik:RadPane
ID
=
"RadPane_Chart_Header"
runat
=
"server"
Height
=
"40"
>RadPane_Chart_Header</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane_Chart_Main"
runat
=
"server"
CssClass
=
"RadPane_Chart_Main"
>RadPane_Chart_Main
<
telerik:RadGrid
ID
=
"RadGrid3"
runat
=
"server"
></
telerik:RadGrid
></
telerik:RadPane
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
Height
=
"50"
>RadPane_Chart_Header</
telerik:RadPane
>
</
telerik:RadSplitter
></
div
>
</
telerik:RadPageView>
<
telerik:RadPageView
ID
=
"RadPageView3"
runat
=
"server"
></
telerik:RadPageView
>
</
telerik:RadMultiPage
></
telerik:RadPane
>
</
telerik:RadSplitter
></
telerik:RadPane
>
</
telerik:RadSplitter
>
</
div
>
How can I solve this?
Thank you,
Daniel.