PDA

View Full Version : Getting Problem in ViewPort



rahul.guptamcakiet
6 Jun 2013, 3:31 AM
I am using ext.net 2.2 controls for .net application.I am using one master page and one another page which is using that master page. I have divided my maser page into three part.
1)Header part 2) middle part (Here i mention the ContentPlaceHolder) 3) footer part

In other page i use viewport in Content tag .
so my problem is viewport is overriding the header part of my master page. it is not coming where i mention the ContentPlaceHolder. Generally i shud come from the middle part where i mention the ContentPlaceHolder.














My code is ..

<ext:Viewport ID="v" runat="server" Layout="BorderLayout">
<Items>
<ext:Panel ID="prjhart" runat="server" Region="North" ToFrontOnShow="true" OverflowX="Hidden" Title="Search" IconPath="~/Images/Project Status.png" Collapsible="true" Collapsed="false" Margins="0,0,0,0">
<Content>
<div id="div" style="width: 100%; border: 1px solid #000;" class="FontCss"></div>
</Content>
</ext:Panel>
<ext:Panel ID="Panel1" runat="server" Region="Center" HideMode="Offsets" Layout="BorderLayout">
<Items>
<ext:Panel ID="EastPanel" runat="server" Region="East" Collapsible="true" MinWidth="175" Split="false" Width="225" Title="Legend" Collapsed="true" BodyPadding="5">
<Content>
<div id="lDiv" style="width: 100%; height: 100%; overflow: auto;"></div>
</Content>
</ext:Panel>


<ext:Panel ID="Panel11" runat="server" MinWidth="1000" Region="Center">
<Content>
<div id="mapDiv" style="overflow: hidden;"></div>
</Content>
</ext:Panel>
</Items>
</ext:Panel>


</Items>
</ext:Viewport>





Please help because i am new in this technology.
Thank u in advance.

Regards
Rahul

mitchellsimoens
10 Jun 2013, 6:16 AM
You may want to contact the Ext.net people for this.