Oct 21, 2009, 7:05 AM
[CLOSED] FitLayout & masterpages
Hi all,
i've a problem with fitLayout.
I have a Master Page containing header and footer the same for any pages
I want to put Fit Layout (i want he autoresize itself in case of browser resizing) beetwen header and footer.
I've a problem, putting fitlayout in a table cell with defined dimension it takes however all browser hiding in this way header and footer columns
Here some code
Masterpage..
There is a way to tell fitlayout to take only his reserved space?
There is any other layout that can autoresize on browser resize in simple way?
Any help will be appreciated...
Thanks a lot
GM
Thanks
i've a problem with fitLayout.
I have a Master Page containing header and footer the same for any pages
I want to put Fit Layout (i want he autoresize itself in case of browser resizing) beetwen header and footer.
I've a problem, putting fitlayout in a table cell with defined dimension it takes however all browser hiding in this way header and footer columns
Here some code
Masterpage..
//...header
<div id="Content">
<table border="0" width="100%" style="height:410px;">
<tr>
<td>
<asp:ContentPlaceHolder ID="cphMain" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
//...footer
Page.aspx<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="Server">
<ext:ScriptManager ID="ScriptManager1" runat="server" HideInDesign="True" />
<ext:ViewPort ID="ViewPort1" runat="server">
<Body>
<ext:FitLayout ID="FitLayout1" runat="server">
<ext:Panel ID="BackGround" runat="server">
<Body>
<ext:BorderLayout ID="BackgroundLayout" runat="server">
<West Collapsible="true" Split="true">
<ext:Panel ID="Panel1" runat="server" Title="West" Width="175" />
</West>
<Center>
<ext:Panel ID="Panel2" runat="server" Title="Center" />
</Center>
<East Collapsible="true" Split="true" CollapseMode="Mini">
<ext:Panel ID="Panel3" runat="server" Title="East" Width="175" Collapsed="true" />
</East>
<North Collapsible="true" Split="true" CollapseMode="Mini">
<ext:Panel ID="Panel4" runat="server" Title="East" Width="175" Collapsed="true" />
</North>
</ext:BorderLayout>
</Body>
</ext:Panel>
</ext:FitLayout>
</Body>
</ext:ViewPort>
</asp:Content>
There is a way to tell fitlayout to take only his reserved space?
There is any other layout that can autoresize on browser resize in simple way?
Any help will be appreciated...
Thanks a lot
GM
Thanks