Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3338
Trying to figure out why the WDW won't start in the center of the page.
posted

I have done some redesign of my website and am having an issue where in Firefox the wdw pops up in the center of the page just fine.

But in IE7 and 8 it pops up randomly , sometimes at the top sometimes at the bottom. This used to work fine but now I don't know what the heck I did to mess it up.

I am including the source... nothing is set in code other then to make the wdw visible and center it.

<vb.net codebehind>

  Me.WDLogin.WindowState = _
        Infragistics.Web.UI.LayoutControls.DialogWindowState.Normal
            Me.WDLogin.Visible = True
            Me.WDLogin.Modal = True

</code>

 

aspx.code

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="SCLIntraWebApp.Default1" culture="auto" meta:resourcekey="PageResource2" uiculture="auto" %>
<%@ Register assembly="Infragistics2.Web.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.LayoutControls" tagprefix="ig" %>
<%@ Register tagprefix="igtxt" namespace="Infragistics.WebUI.WebDataInput" Assembly="Infragistics2.WebUI.WebDataInput.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Register assembly="Infragistics2.WebUI.WebCombo.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebCombo" tagprefix="igcmbo" %>
<%@ Register assembly="Infragistics2.WebUI.UltraWebGrid.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebGrid" tagprefix="igtbl" %>
<%@ Register assembly="Infragistics2.WebUI.Misc.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.Misc" tagprefix="igmisc" %>
<%@ Register assembly="Infragistics2.WebUI.UltraWebNavigator.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebNavigator" tagprefix="ignav" %>
<%@ Register Assembly="Infragistics2.WebUI.WebDateChooser.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"  Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>
<%@ Register assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="System.Web.UI" tagprefix="cc1" %>
<%@ Register assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>


<!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 runat="server">
<link rel="stylesheet" type="text/css" media="screen" href="layout.css" />
    <title>SCLIntra Home</title>
    <script type="text/javascript">

        function Fire(gridName, cellName) {
            //var grid = igtbl_getGridById(gridName);
            // var row = igtbl_getRowById(cellName);
            var cell = igtbl_getCellById(cellName);
            cell.Row.setSelected(true);
           }
       </script>

<style type="text/css">
          .style1
        {
            width: 710px;
        }
        .style3
        {
            width: 182px;
            height: 83px;
        }
        .style4
        {
            height: 83px;
        }
    .menuButton
        {
            height: 80px;
            width: 200px;
        }
    </style>
</head>

<body>

    <form id="form1" runat="server">
  
        <ig:WebDialogWindow ID="WDLogin" runat="server" Height="318px" InitialLocation="Centered"
            Modal="True" Width="400px" meta:resourcekey="WDLoginResource1"
            BorderColor="#1C608D" BorderStyle="Solid" BorderWidth="2px" EnableTheming="False"
            MaintainLocationOnScroll="True" Moveable="False" Top="25%" >
            <Resizer MaxHeight="400" MaxWidth="400" />
            <Header CaptionText="SCLIntra Enterprise - Login ">
                <MaximizeBox Visible="True" />
            </Header>
            <ContentPane>
                <Template>
                    <table>
                        <tr>
                            <td colspan="4">
                                <asp:Label ID="lblLoginFailed" runat="server" BackColor="Red" Font-Bold="True" Font-Names="Arial"
                                    Font-Size="Medium" ForeColor="White" Text="Login Failed: " Visible="False" meta:resourcekey="lblLoginFailedResource1"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:Label ID="lblPickProfile" runat="server" BackColor="#039684" Font-Bold="True"
                                    Font-Size="Medium" ForeColor="White" Text="Please select a profile before continuing."
                                    Visible="False" meta:resourcekey="lblPickProfileResource1"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblProfiles" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="Arial"
                                    Font-Size="Small" Text="Profiles:" Width="75px" meta:resourcekey="lblProfilesResource1"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="cboProfileList" runat="server" DataTextField="ProfileName"
                                    DataValueField="ProfileID" Font-Names="Arial" Font-Size="8pt" Height="20px" Width="138px"
                                    meta:resourcekey="cboProfileListResource2">
                                </asp:DropDownList>
                            </td>
                            <td>
                                <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*" meta:resourcekey="Label3Resource1"></asp:Label>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblUsername" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="Arial"
                                    Font-Size="Small" Text="User Name:" Width="75px" meta:resourcekey="lblUsernameResource1"></asp:Label>
                            </td>
                            <td>
                                <font face="Arial, Helvetica, sans-serif" size="2">
                                    <igtxt:WebTextEdit ID="txtUserName" runat="server" AllowAltPlusDigits="False"
                                            BorderColor="White" BorderStyle="Inset" BorderWidth="2px"
                                            EnableAppStyling="True" FocusOnInitialization="True"
                                            Height="20px" MaxLength="50" SelectionOnFocus="SelectAll"
                                            StyleSetName="Default" ToolTip="Enter user name" UseBrowserDefaults="False"
                                            Width="80px" meta:resourcekey="txtUserNameResource1"
                                   HideEnterKey="True">
                                        <borderdetails colorleft="0, 160, 160, 160" colortop="0, 160, 160, 160"
                                                styleleft="Ridge" styletop="Ridge" />
                                        <clientsideevents keypress="TextSearch_KeyPress" />
                                    </igtxt:WebTextEdit>
                                    </font>
                            </td>
                            <td>
                                <asp:Label ID="Label4" runat="server" ForeColor="Red" Text="*" meta:resourcekey="Label4Resource1"></asp:Label>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="LabelPwd" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="Arial"
                                    Font-Size="Small" Text="Password:" meta:resourcekey="LabelPwdResource1"></asp:Label>
                            </td>
                            <td>
                                <igtxt:WebTextEdit ID="txtPassword" runat="server" AllowAltPlusDigits="False" BorderColor="White"
                                    BorderStyle="Inset" BorderWidth="2px" EnableAppStyling="True" Height="20px" MaxLength="50"
                                    PasswordMode="True" SelectionOnFocus="SelectAll" StyleSetName="Default" ToolTip="Please enter a password"
                                    Width="80px" meta:resourcekey="txtPasswordResource1" HideEnterKey="True">
                                </igtxt:WebTextEdit>
                            </td>
                            <td>
                                <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*" meta:resourcekey="Label5Resource1"></asp:Label>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <font size="1">
                                    <asp:Label ID="lblMessage" runat="server" Font-Names="Arial"
                                            Text=" Fields marked with an asterisk * are required."
                                        meta:resourcekey="lblMessageResource1"></asp:Label>
                                    </font>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                <igtxt:WebImageButton ID="btnEnter" runat="server" ImageDirectory="/ig_res" ImageTextSpacing="0"
                                    Style="height: 21px" Text="Enter" Width="70px" meta:resourcekey="btnEnterResource1">
                                    <DisabledAppearance>
                                        <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False">
                                        </ButtonStyle>
                                    </DisabledAppearance>
                                    <Appearance>
                                        <ButtonStyle BackColor="Orange" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                            Font-Strikeout="False" Font-Underline="False">
                                        </ButtonStyle>
                                    </Appearance>
                                    <FocusAppearance>
                                        <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False">
                                        </ButtonStyle>
                                    </FocusAppearance>
                                    <PressedAppearance>
                                        <ButtonStyle BackColor="OrangeRed" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                            Font-Strikeout="False" Font-Underline="False">
                                        </ButtonStyle>
                                    </PressedAppearance>
                                    <HoverAppearance>
                                        <ButtonStyle BackColor="Bisque" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                            Font-Strikeout="False" Font-Underline="False">
                                        </ButtonStyle>
                                    </HoverAppearance>
                                </igtxt:WebImageButton>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:LinkButton ID="LinkButton1" runat="server" meta:resourcekey="LinkButton1Resource1">Forgot Username/Password</asp:LinkButton>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:Label ID="lblEmail" runat="server" BackColor="White" Font-Bold="True" Font-Names="Arial"
                                    Font-Size="10pt" ForeColor="Black" Text="Please contact your Support Person to retrieve User Name and Password."
                                    Visible="False" meta:resourcekey="lblEmailResource1"></asp:Label>
                                <br />
                                <br />
                            </td>
                        </tr>
                    </table>
                </Template>
            </ContentPane>
        </ig:WebDialogWindow>
  
    <div class="wrapper" style="width: 99%"  >
  
        <table width="100%" >
                <tr>
                    <td align="left" class="style3" >
                    <asp:Image ID="imgLogo1" runat="server" Height="84px" 
                            Width="150px" meta:resourcekey="imgLogoResource1" />
                       
                    </td>
                    <td align="center" class="style4" >
                    <asp:Image ID="imgLogo" runat="server" Height="50px"
                            ImageUrl="~/Images/mylogo.gif" 
                            Width="400px" ImageAlign="Top" meta:resourcekey="imgLogoResource1" />
                        </td>
                </tr>
                           
            </table>
           
       
          
        
           <asp:TextBox ID="txtURLHolder" runat="server" Visible="False" Width="1px"
                meta:resourcekey="txtURLHolderResource1"></asp:TextBox>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
   
               
          <table style="border: 1px solid #0000FF; height: 100%; width: 100%; vertical-align:top; text-align: center;">
               <tr>
                   <td  style="width: 40px"></td>
                   <td   class="menuButton">
                    <igtxt:WebImageButton ID="btnInternalShip" runat="server"
                                Text="Internal Ship"  ImageDirectory="/ig_res"
                                ImageTextSpacing="0" 
                                UseBrowserDefaults="False" Height="80px" Width="250px"
                           meta:resourcekey="btnInternalShipResource1"  >
                                       <DisabledAppearance>
                                             <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                                 Font-Strikeout="False" Font-Underline="False">
                                             </ButtonStyle>
                                         </DisabledAppearance>
                                         <Appearance>
                                             <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                                 Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                                 Font-Names="Arial" Font-Size="12pt" ForeColor="Black">
                                             </ButtonStyle>
                                             <Image Url="./Images/InternalShipIcon.png" />
                                         </Appearance>
                                         <FocusAppearance>
                                             <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                                 Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                             </ButtonStyle>
                                         </FocusAppearance>
                                         <RoundedCorners MaxHeight="75" MaxWidth="250"
                                           DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                           FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                           HeightOfBottomEdge="6"
                                           HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                           ImageUrl="./ig_res/Default/images/button_normal.gif"
                                           PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                           WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                         <PressedAppearance>
                                      <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                          Font-Strikeout="False" Font-Underline="False" >
                                      </ButtonStyle>
                                  </PressedAppearance>
                                         <HoverAppearance>
                                             <Image Url="./Images/InternalShipIconH.png" />
                                      <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                          Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                                      </ButtonStyle>
                                  </HoverAppearance>
                                       <Alignments TextImage="ImageRight" />
                             </igtxt:WebImageButton>
                   </td>
                   <td   class="menuButton">
                    <igtxt:WebImageButton ID="btnExternalShip" runat="server" Text="External Ship" ImageDirectory="/ig_res"
                        ImageTextSpacing="0" UseBrowserDefaults="False" Height="80px" Width="250px" meta:resourcekey="btnExternalShipResource1">
                               <DisabledAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False">
                                     </ButtonStyle>
                                 </DisabledAppearance>
                                 <Appearance>
                                     <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                         Font-Names="Arial" Font-Size="12pt">
                                     </ButtonStyle>
                                     <Image Url="./Images/ExternalShipIcon.png" />
                                 </Appearance>
                                 <FocusAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                     </ButtonStyle>
                                 </FocusAppearance>
                                 <RoundedCorners MaxHeight="75" MaxWidth="250"
                                   DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                   FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                   HeightOfBottomEdge="6"
                                   HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                   ImageUrl="./ig_res/Default/images/button_normal.gif"
                                   PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                   WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                 <PressedAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" >
                              </ButtonStyle>
                          </PressedAppearance>
                                 <HoverAppearance>
                                     <Image Url="./Images/ExternalShipIconH.png" />
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                              </ButtonStyle>
                          </HoverAppearance>
                               <Alignments TextImage="ImageRight" VerticalImage="Middle" />
                     </igtxt:WebImageButton>
                   </td>
                   <td   class="menuButton">
                    <igtxt:WebImageButton ID="btnRecipsrch" runat="server"
                        Text="My Items"  ImageDirectory="/ig_res"
                        ImageTextSpacing="0" 
                        UseBrowserDefaults="False" Height="80px" Width="250px"
                           meta:resourcekey="btnRecipsrchResource1"  >
                               <DisabledAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False">
                                     </ButtonStyle>
                                 </DisabledAppearance>
                                 <Appearance>
                                     <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                         Font-Names="Arial" Font-Size="12pt">
                                     </ButtonStyle>
                                     <Image Url="./Images/MyItemsIcon.png" />
                                 </Appearance>
                                 <FocusAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                     </ButtonStyle>
                                 </FocusAppearance>
                                 <RoundedCorners MaxHeight="75" MaxWidth="250"
                                   DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                   FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                   HeightOfBottomEdge="6"
                                   HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                   ImageUrl="./ig_res/Default/images/button_normal.gif"
                                   PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                   WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                 <PressedAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" >
                              </ButtonStyle>
                          </PressedAppearance>
                                 <HoverAppearance>
                                     <Image Url="./Images/MyItemsIconH.png" />
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                              </ButtonStyle>
                          </HoverAppearance>
                               <Alignments TextImage="ImageRight" VerticalImage="Middle" />
                     </igtxt:WebImageButton>
                   </td>
               </tr>
               <tr>
                   <td> </td>
                   <td> </td>
                   <td> </td>
                   <td> </td>
               </tr>
               <tr>
                   <td ></td>
                   <td  class="menuButton">
                    <igtxt:WebImageButton ID="btnQuickSearch" runat="server"
                        Text="Quick Search"  ImageDirectory="/ig_res"
                        ImageTextSpacing="0" 
                        UseBrowserDefaults="False" Height="80px" Width="250px"
                           meta:resourcekey="btnQuickSearchResource1"  >
                               <DisabledAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False">
                                     </ButtonStyle>
                                 </DisabledAppearance>
                                 <Appearance>
                                     <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                         Font-Names="Arial" Font-Size="12pt">
                                     </ButtonStyle>
                                     <Image Url="./Images/SearchIcon.png" />
                                 </Appearance>
                                 <FocusAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                     </ButtonStyle>
                                 </FocusAppearance>
                                 <RoundedCorners MaxHeight="75" MaxWidth="250"
                                   DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                   FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                   HeightOfBottomEdge="6"
                                   HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                   ImageUrl="./ig_res/Default/images/button_normal.gif"
                                   PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                   WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                 <PressedAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" >
                              </ButtonStyle>
                          </PressedAppearance>
                                 <HoverAppearance>
                                     <Image Url="./Images/SearchIconH.png" />
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                              </ButtonStyle>
                          </HoverAppearance>
                               <Alignments TextImage="ImageRight" VerticalImage="Middle" />
                     </igtxt:WebImageButton>
                   </td>
                   <td  class="menuButton" >
                    <igtxt:WebImageButton ID="btnFlags" runat="server"
                        Text="Alerts"  ImageDirectory="/ig_res"
                        ImageTextSpacing="0"  
                        UseBrowserDefaults="False" Height="80px" Width="250px"
                           meta:resourcekey="btnFlagsResource1" >
                               <DisabledAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False">
                                     </ButtonStyle>
                                 </DisabledAppearance>
                                 <Appearance>
                                     <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                         Font-Names="Arial" Font-Size="12pt">
                                     </ButtonStyle>
                                     <Image Url="./Images/AlertsIcon.png" />
                                 </Appearance>
                                 <FocusAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                     </ButtonStyle>
                                 </FocusAppearance>
                                 <RoundedCorners MaxHeight="75" MaxWidth="250"
                                   DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                   FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                   HeightOfBottomEdge="6"
                                   HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                   ImageUrl="./ig_res/Default/images/button_normal.gif"
                                   PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                   WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                 <PressedAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" >
                              </ButtonStyle>
                          </PressedAppearance>
                                 <HoverAppearance>
                                     <Image Url="./Images/AlertsIconH.png" />
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                              </ButtonStyle>
                          </HoverAppearance>
                               <Alignments TextImage="ImageRight" VerticalImage="Middle" />
                     </igtxt:WebImageButton>
                   </td>
                   <td   class="menuButton">
                    <igtxt:WebImageButton ID="btndashboard" runat="server"
                        Text="Dashboard"  ImageDirectory="/ig_res"
                        ImageTextSpacing="0"  
                        UseBrowserDefaults="False" Height="80px" Width="250px"
                           meta:resourcekey="btndashboardResource1" >
                               <DisabledAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False">
                                     </ButtonStyle>
                                 </DisabledAppearance>
                                 <Appearance>
                                     <ButtonStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False"  BackColor="Orange"
                                         Font-Names="Arial" Font-Size="12pt">
                                     </ButtonStyle>
                                     <Image Url="./Images/ReportsIcon.png" />
                                 </Appearance>
                                 <FocusAppearance>
                                     <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                         Font-Strikeout="False" Font-Underline="False" BackColor="OrangeRed">
                                     </ButtonStyle>
                                 </FocusAppearance>
                                 <RoundedCorners MaxHeight="75" MaxWidth="250"
                                   DisabledImageUrl="./ig_res/Default/images/button_normal.gif"
                                   FocusImageUrl="./ig_res/Default/images/button_normal.gif"
                                   HeightOfBottomEdge="6"
                                   HoverImageUrl="./ig_res/Default/images/button_normal.gif"
                                   ImageUrl="./ig_res/Default/images/button_normal.gif"
                                   PressedImageUrl="./ig_res/Default/images/button_normal.gif"
                                   WidthOfRightEdge="6" RenderingType="BordersByTableCells" />
                                 <PressedAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" >
                              </ButtonStyle>
                          </PressedAppearance>
                                 <HoverAppearance>
                              <ButtonStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                  Font-Strikeout="False" Font-Underline="False" BackColor="Bisque">
                              </ButtonStyle>
                          </HoverAppearance>
                               <Alignments VerticalImage="Middle" TextImage="ImageRight" />
                     </igtxt:WebImageButton>
                   </td>
               </tr>
          </table>
               
      <table cellpadding="0" cellspacing="0" style="border-style: none">
         <tr>
            <td  align="center" style="width: 20%; background-color: #FF0000;" >
              <asp:Label ID="lblMOTD" runat="server" Text="Mail Services News"
                    meta:resourcekey="lblMOTDResource1" ForeColor="White" BackColor="Red"
                    Font-Bold="True" Font-Names="Arial" Font-Size="12pt" BorderStyle="None"></asp:Label>
            </td>
           
         
         </tr>
        
        
         <tr>
           <td style="background-color: #FF0000">
            <asp:Label ID="lblMOD" style="" runat="server" Height="99px" 
                    Width="318px"  BorderStyle="None" Font-Bold="True" Font-Names="Arial" Font-Size="10pt"
                    BackColor="Red" ForeColor="White" meta:resourcekey="lblMODResource1"></asp:Label>
             
          </td>
          <td style="width: 80%; background-color: #FFFFFF; vertical-align: middle; text-align: right;" 
                 colspan="2">
            <asp:Image ID="Image2" runat="server" Height="68px"
                  ImageUrl="~/Images/SCLINTR_ENT.gif" ImageAlign="Right"
                  meta:resourcekey="Image2Resource1" />
          </td>
        </tr>
       
       
        <tr>
           <td style="width: 492px; background-color: #FF0000;" >
            <asp:Label ID="lblContactSupport" runat="server" Text="Contact Support:"
                    meta:resourcekey="lblContactSupportResource1" ForeColor="White"
                   BackColor="Red"></asp:Label>
            <asp:HyperLink ID="lnkMail" runat="server" meta:resourcekey="lnkMailResource1"
                   ForeColor="White" Text="[lnkMail]" BackColor="Red" ></asp:HyperLink>
           </td>
          
          
          
        </tr>
     </table>
   
   <div class="push" style="width: 100%"></div>
       </div>
    <!-- Footer Info    -->
<div class="footer"
            style="background-image: url('./Images/GradientBar.JPG'); width: 100%; height: 24px;"   >
            <table width ="100%"><tr>
            <td align="left" class="style1" style="font-family: Arial, Helvetica, sans-serif; font-size: 7pt; color: #FFFFFF; width: 710px; vertical-align: middle;">
           
                SCLogic, the SCLogic logo, SCLIntra Enterprise and the SCLIntra logo are trademarks of SCLogic, LLC. Copyright 2003-2009 SCLogic,&nbsp;LLC.
            </td>
            <td scope="row" style="height: 18px; vertical-align: top; text-align: right">   
           
                <span id="clock" runat="server"
                    style="font-family: Arial, Helvetica, sans-serif;
                    font-size: 7pt; color: #FFFFFF; vertical-align: middle;
                    text-align: right; height: 18px;">
                </span>
                <asp:Image ID="imgSCLogoSmall" runat="server" AlternateText="SCLogic Logo" Height="18px"
                      ImageUrl="~/Images/SCLogicLogo.png" BorderStyle="Solid"
                    BorderColor="Black" BorderWidth="1px" ImageAlign="Top" Width="52px"
                    meta:resourcekey="imgSCLogoSmallResource1" />
               
             
            </td>
            </tr>
            </table>
        </div>
        <!-- END footer info -->
 
   
    </form>
</body>
</html>

 

  • 24497
    Suggested Answer
    posted

    Hi,

    It is hard to guess what can be wrong. Problem can be in css classes, styles, javascript, etc. Different browser may interpret same html and same javascript calls differently. If there are style attributes with position:relative/fixed/absolute, text-aling:center/right, etc. then that can be the reason.
    I suggest you to create a temporary webform, add dialog with same settings as original, but without any content. Check if it works correctly. After that you may add your layout.css, styles and test again. Next you may fill content of dialog with original controls and test. I hope eventually you will find what exactly causes problem.