Because of this masterpage coding i am not able to maximize the webpages connected to this masterpage neither can i see the whole page content...please help ASAP
It's little difficult to reproduce your issue, so I suggest you to use a foolish mechanism which create a new master page and then copy some parts of the old master page into it to locate the error.
zehra_agha
Member
279 Points
295 Posts
Not able to maximize the web pages neither can i see the whole page
Jun 07, 2011 01:47 PM|LINK
Because of this masterpage coding i am not able to maximize the webpages connected to this masterpage neither can i see the whole page content...please help ASAP
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="frmMainContentNew.master.cs" Inherits="MasterPages_frmMainContent" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %> <%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" Namespace="DevExpress.Web.ASPxMenu" TagPrefix="dxm" %> <%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %> <%@ Register Assembly="DevExpress.Web.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dxrp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="page-Exit" content ="progid:DXImageTransform.Microsoft.Fade(duration=.5)" /> <title>Lloyds Order Management system</title> <link href="../css/general.css" rel="stylesheet" type="text/css" /> <link href="../css/pde.css" rel="stylesheet" type="text/css" /> <link href="../themes/default.css" rel="stylesheet" type="text/css"/> <link href="../themes/alphacube.css" rel="stylesheet" type="text/css"/> <link href="../css/tabcontent.css" rel="stylesheet" type="text/css"/> <!--<script type="text/javascript" src="../javascripts/prototype.js"> </script> <script type="text/javascript" src="../javascripts/prototype.js"> </script> <script type="text/javascript" src="../javascripts/effects.js"> </script> <script type="text/javascript" src="../javascripts/window.js"> </script> <script type="text/javascript" src="../javascripts/window_effects.js"> </script> <script type="text/javascript" src="../javascripts/debug.js"> </script>--> <script type="text/javascript" src="../LloydsJS/Common.js"></script> <script type="text/javascript" src="../LloydsJS/main.js"></script> <script type="text/javascript" src="../LloydsJS/tabcontent.js"></script> <script type="text/javascript"> var pnl1InnerHtml; var pnl2InnerHtml; var pnl3InnerHtml; var dlgwin; function SaveInnerHtmls(panel1,panel2,panel3) { //alert("test"); var pnl1=document.getElementById(panel1); var pnl2=document.getElementById(panel2); var pnl3=document.getElementById(panel3); pnl1InnerHtml=pnl1.innerHTML; pnl2InnerHtml=pnl2.innerHTML; pnl3InnerHtml=pnl3.innerHTML; //pnl2.innerHTML=pnl2InnerHtml; pnl1.innerHTML=""; pnl3.innerHTML=""; var td=document.getElementById("tdDWM"); td.innerHTML=pnl1InnerHtml; } function SetVisibility(type,panel1,panel2,panel3) { var pnl1=document.getElementById(panel1); var pnl2=document.getElementById(panel2); var pnl3=document.getElementById(panel3); var td=document.getElementById("tdDWM"); if(type==1) { td.innerHTML=pnl1InnerHtml; pnl2.innerHTML=""; pnl3.innerHTML=""; } if(type==2) { //alert(pnl1.id); //alert(pnl1.innerHTML); td.innerHTML=pnl2InnerHtml; //alert("vb"); pnl2.innerHTML=""; pnl3.innerHTML=""; } if(type==3) { td.innerHTML=pnl3InnerHtml; pnl2.innerHTML=""; pnl3.innerHTML=""; } } //disable right click //document.oncontextmenu=new Function("return false") </script> </head> <body id="PageBody" runat="server"> <form id="form1" runat="server"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" valign="top"> <!--Start - Content Place Holder for header --> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" class="headerbg"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top" class="headerbg" style="padding-left:10px;"> <img src="../images/inner_logo.gif" alt=""/> </td> <td align="right" valign="top" class="headerbg" style="padding-right:10px;"> </td> </tr> </table> </td> </tr> <tr> <td align="center" valign="top" class="headerbg2"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="50%" align="left" valign="top" style="padding-left:4px;"> <asp:Panel ID="Panel2" Height="24px" runat="server" Width="100%"> <dxm:ASPxMenu ID="tbSearch" runat="server" AutoSeparators="RootOnly" CssFilePath="~/App_Themes/Blue (Horizontal orientation)/{0}/styles.css" CssPostfix="Blue" ImageFolder="~/App_Themes/Blue (Horizontal orientation)/{0}/" ItemSpacing="0px" SeparatorHeight="24px" SeparatorWidth="0px" ShowPopOutImages="True" ShowSubMenuShadow="False" Height="24px" ClientInstanceName="ASPxMenu3" AutoPostBack="True" Visible="False"> <SubMenuStyle GutterWidth="0px" /> <RootItemSubMenuOffset FirstItemX="-2" LastItemX="-2" X="-1" /> <SubMenuItemStyle ImageSpacing="19px" PopOutImageSpacing="22px"> </SubMenuItemStyle> <ItemSubMenuOffset FirstItemX="2" FirstItemY="-12" LastItemX="2" LastItemY="-12" X="2" Y="-12" /> <Items> <dxm:MenuItem Text="SearchText"> <Template> <asp:TextBox ID="txtSearch" runat="server" CssClass="search_input" Width="90px"></asp:TextBox> </Template> </dxm:MenuItem> <dxm:MenuItem Name="Search" Text="Search"> </dxm:MenuItem> <dxm:MenuItem Name="AdvSearch" Text="Advance Search" Visible="False"> </dxm:MenuItem> <dxm:MenuItem Name="Refresh" Text="Refresh"> </dxm:MenuItem> <dxm:MenuItem Name="Print PDF" Text="Print PDF"> </dxm:MenuItem> </Items> </dxm:ASPxMenu> </asp:Panel> </td> <td width="50%" align="right"> <asp:Panel ID="Panel1" Height="24px" runat="server" Width="100%"> <dxm:ASPxMenu ID="tbAddEdit" runat="server" AutoSeparators="RootOnly" CssFilePath="~/App_Themes/Blue (Horizontal orientation)/{0}/styles.css" CssPostfix="Blue" ImageFolder="~/App_Themes/Blue (Horizontal orientation)/{0}/" ItemSpacing="0px" SeparatorHeight="100%" SeparatorWidth="2px" ShowPopOutImages="True" ShowSubMenuShadow="False" Visible="False"> <Items> <dxm:MenuItem Name="New" Text="New"> </dxm:MenuItem> <dxm:MenuItem Name="Edit" Text="Edit/View"> </dxm:MenuItem> <dxm:MenuItem Text="Delete"> </dxm:MenuItem> </Items> <SubMenuStyle GutterWidth="0px" /> <RootItemSubMenuOffset FirstItemX="-2" LastItemX="-2" X="-1" /> <SubMenuItemStyle ImageSpacing="19px" PopOutImageSpacing="30px"> </SubMenuItemStyle> <ItemSubMenuOffset FirstItemX="2" FirstItemY="-12" LastItemX="2" LastItemY="-12" X="2" Y="-12" /> <ClientSideEvents ItemClick="function(s, e) { if(e.item.index==0) { ShowDialog(e); } if(e.item.index==1) { DblClickOnGridFocusedRow(); } if(e.item.index==2) { if(confirm_delete()) { gvBrowser.PerformCallback(); } } }" /> </dxm:ASPxMenu> </asp:Panel> </td> </tr> </table> </td> </tr> <tr> <td align="center" height="2" valign="top" class="headerbg3"></td> </tr> </table> <!--End - Content Place Holder for header --> </td> </tr> <tr> <td colspan="2" valign="top"> <table width="100%"border="0" cellpadding="0" cellspacing="0"> <tr> <td width="225" valign="top" class="leftpart" height="100%"> <!--Start - Content Place Holder for Menu --> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="menutable"> <tbody> <tr valign="top"> <td valign="top"> <table class="leftcol leftcoltable" style="display: none;" id="HiddenLeftMenu" cellpadding="0" cellspacing="0" width="1%"> <tbody> <tr valign="top"> <td bgcolor="black" width="100%"> <!--Showing Content when hiding --> </td> </tr> <tr valign="top"> <td class="leftColBottom" height="17"><!--Showing Content when hiding --></td> </tr> </tbody> </table> <!--Menu table Start --> <!--Menue Table End --> </td> <!--Area for colapsiable bar start --> </tr> </tbody> </table> <!--End - Content Place Holder for Menu --> </td> <td valign="top" style="height:100%; width:100%;"> <asp:contentplaceholder id="phContent" runat="server"></asp:contentplaceholder> </td> </tr> </table></td> </tr> <tr> <td style="height:100%; width:1%;" valign="top" class="leftpart" > </td> <td width="99%" valign="top"> <!--Start - Content Place Holder for Body --><!--End - Content Place Holder for Body --> </td> </tr> <tr> <td colspan="2" valign="middle"> <!--Start - Content Place Holder for Footer --> <asp:contentplaceholder id="cphFooter" runat="server"> <table class="footerbg" width="100%" border="0" cellpadding="0" cellspacing="0" > <tr> <td align="left" valign="middle" height="20px"> <dxe:aspxlabel id="ASPxLabel1" runat="server" text="User Name :"> </dxe:aspxlabel> <dxe:aspxlabel id="lblUserName" runat="server" text=""> </dxe:aspxlabel></td> <td align="center" valign="middle">2007©, Lloyds Order Management System</td> <td align="left" valign="middle"> <dxe:ASPxLabel id="Aspxlabel2" runat="server" text="Date :"> </dxe:ASPxLabel> <dxe:ASPxLabel id="lblDate" runat="server" text=""> </dxe:ASPxLabel> </td> </tr> </table> </asp:contentplaceholder> <!--End - Content Place Holder for Footer --> </td> </tr> </table> </td> </tr> </table> <input id="hdnDialogPage" name="hdnDialogPage" runat="server" type="hidden" /> <%-- <dxpc:ASPxPopupControl ID="ASPxPopupControl1" runat="server" CssFilePath="~/App_Themes/Glass/{0}/styles.css" CssPostfix="Glass" HeaderText="Advance Search" Height="150px" ImageFolder="~/App_Themes/Glass/{0}/" Width="431px" PopupElementID="ctl00_cphHeader_ASPxMenu3_DXI2_T" ContentUrl="~/WebForms/frmAdvanceSearch.aspx"> <SizeGripImage Height="11px" Width="11px" /> <HeaderStyle> <Paddings PaddingRight="6px" PaddingLeft="10px" PaddingTop="1px" /> </HeaderStyle> <CloseButtonImage Height="17px" Width="17px" /> </dxpc:ASPxPopupControl>--%> </form> </body> </html>Mamba Dai -...
All-Star
15861 Points
2104 Posts
Microsoft
Re: Not able to maximize the web pages neither can i see the whole page
Jun 10, 2011 03:33 AM|LINK
Hi,
It's little difficult to reproduce your issue, so I suggest you to use a foolish mechanism which create a new master page and then copy some parts of the old master page into it to locate the error.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
kranthireddyr1
Participant
792 Points
167 Posts
Re: Not able to maximize the web pages neither can i see the whole page
Jun 10, 2011 10:02 AM|LINK
Hi,
As Mamba Dai said it would not be easy to find the solution with the above code.
You can try his suggestion and also if you can see
if there are properties which are restricting the page size like from the CSS classes or Java script.
Are you using any window.open() method to call this page ? so that there might be chances of restricting the pages, not reall sure.
Regards
kranthi