IE7 - datagrid does not display in full

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmala26
    New Member
    • Nov 2008
    • 7

    IE7 - datagrid does not display in full

    I have a webpage that displays the results of a search query on a Datagrid. The datagrid is shown completely fine on IE 6.0 but when i access the webpage from IE 7.0, the datagrid is shown only partially. Also in some pages, the buttons overlap when it comes to IE 7.0
    Can anyone please help with what I need to check to get this resolved ?
    Thanks.
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi nirmala26,

    What do you mean by it only shows partially? Is it being cut off at the bottom, top etc?

    You will find that you will often get issues with the appearance of your web pages if you develop them using Internet Explorer no matter which version - I would recommend that you use FireFox or Opera to develop your site and the w3 markup validator to check the generated html to ensure that your mark up is correct. Once you are happy with it in one of these browsers you can then check how it looks in IE 6 and 7 - any differences in the rendering will probably be down to bugs in Internet Explorer.

    Dr B

    Comment

    • nirmala26
      New Member
      • Nov 2008
      • 7

      #3
      Thank you Dr B for your reply. I have just started coding in visual studio .net and am stuck with this... In IE 7, only partial data is shown on the grid, the remaining is cut off at the bottom.. please find below the code for the ASPX page -

      Code:
      <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WipCommit.aspx.cs" Inherits="WipCommit" %>
      
      <%@ Register Assembly="dotnetCHARTING" Namespace="dotnetCHARTING" TagPrefix="dotnetCHARTING" %>
      
      <%@ Register Assembly="DundasWebChart" Namespace="Dundas.Charting.WebControl" TagPrefix="DCWC" %>
      
      <!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">
          <title>WIP Commit by OPN Web Query</title>
      </head>
      <script language=javascript>
                function f_LookUpOPSTDtls(GenericOPN,Pkglds,Device)
                        {
                              var url = "WipCommitDtl.aspx?genericopn=" + GenericOPN + "&Pkglds=" + Pkglds + "&Device=" + Device;
                              (window.open(url,'CustomPopUp',"width=700,height=500,scrollbars=yes,resizable=yes,status=yes")||window).focus();
      
                              //window.showModalDialog(url, window, "dialogWidth:1000px;dialogHeight:600px;status=no");
                        }
      </script>
      <body>
          <form id="form1" runat="server">
          <div>
              <table>
                  <tr>
                      <td colspan="4">
                          <span style="font-family: Tahoma"><span style="font-size: 10pt"> Daily WIP Status
                              Commit by OPN<strong>&nbsp;
                                  <asp:HyperLink ID="HyperLinkMain" runat="server" NavigateUrl="~/Main.aspx">Home</asp:HyperLink></strong></span></span></td>
                      <td colspan="1" style="width: 125px">
                      </td>
                      <td colspan="1" style="width: 125px">
                      </td>
                      <td colspan="1" style="width: 125px">
                      </td>
                  </tr>
                  <tr>
                      <td style="width: 100px; height: 14px;">
                          </td>
                      <td style="width: 79px; height: 14px;">
                      </td>
                      <td style="width: 100px; height: 14px;">
                      </td>
                      <td style="width: 125px; height: 14px;">
                      </td>
                      <td style="width: 125px; height: 14px">
                      </td>
                      <td style="width: 125px; height: 14px">
                      </td>
                      <td style="width: 125px; height: 14px">
                      </td>
                  </tr>
                  <tr>
                      <td colspan="4" style="height: 30px">
                          <asp:Panel ID="Panel2" runat="server" Height="30px" Width="800px">
                              <span style="font-size: 10pt">Pline</span>:
                              <asp:TextBox ID="txtPline" runat="server" Width="60px"></asp:TextBox>
                              <span style="font-size: 10pt">Pkglds</span>:
                              <asp:TextBox ID="txtPkglds" runat="server" Width="60px"></asp:TextBox>
                              <span style="font-size: 10pt">Device</span>:
                              <asp:TextBox ID="txtDevice" runat="server" Width="60px"></asp:TextBox>
                              &nbsp;<span style="font-size: 10pt">Genericopn:
                                  <asp:TextBox ID="txtGenericOPN" runat="server" Width="120px"></asp:TextBox></span>
                              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                              &nbsp; &nbsp; &nbsp;<asp:Button ID="txtSearch" runat="server" OnClick="txtSearch_Click" Text="Search" />
                              <asp:Button ID="btnRefresh" runat="server" Text="Refresh" OnClick="btnRefresh_Click" /><asp:Button
                                  ID="btnExportExcel" runat="server" OnClick="btnExportExcel_Click" Text="Excel" />
                              <asp:Button ID="btnChart" runat="server" OnClick="btnChart_Click" Text="Chart" />
                              <asp:Button ID="btnPrevWeek" runat="server" OnClick="btnPrevWeek_Click" Text="WIP Pre Week" /></asp:Panel>
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                  </tr>
                  <tr>
                      <td colspan="4" style="height: 30px">
                          <table>
                              <tr>
                                  <td style="width: 100px">
                          <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
                              <asp:DataGrid ID="dgSWKS0239RevF" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                  CellPadding="3" OnSortCommand="DoSorting" PageSize="30" OnSelectedIndexChanged="dgSWKS0239RevF_SelectedIndexChanged" OnItemCommand="dgSWKS0239RevF_ItemCommand" Font-Size="Medium" OnItemDataBound="dgSWKS0239RevF_ItemDataBound">
                                  <FooterStyle CssClass="GridFooter" HorizontalAlign="Center" />
                                  <SelectedItemStyle CssClass="GridSelectedItem" />
                                  <ItemStyle CssClass="GridItem" Font-Names="Tahoma" Font-Size="Small" HorizontalAlign="Center" />
                                  <HeaderStyle BackColor="DarkSeaGreen" CssClass="GridHeader" Font-Names="Arial Narrow"
                                      HorizontalAlign="Center" />
                                  <Columns>                                             
                                      <asp:TemplateColumn HeaderText="GENERICOPN" SortExpression="GENERICOPN">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:LinkButton ID="lblGENERICOPN" CommandName="DisplayOPNDetails" runat="server" Text='<%#  DataBinder.Eval(Container, "DataItem.GENERICOPN") %>'>
                                                              </asp:LinkButton>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="PLINE" SortExpression="PLINE">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblPLINE" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PLINE") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="PKGLDS" SortExpression="PKGLDS">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblPKGLDS" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PKGLDS") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="DEVICE" SortExpression="DEVICE">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblDEVICE" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DEVICE") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="PRIORITY" SortExpression="PRIORITY">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblPRIORITY" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PRIORITY") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="COMMIT" SortExpression="REQUIRED">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblREQUIRED" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.REQUIRED") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="PACKED" SortExpression="QTY">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblQTY" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.QTY") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                      <asp:TemplateColumn HeaderText="DELTA" SortExpression="DIFFQTY">
                                          <ItemStyle Wrap="False" />
                                          <ItemTemplate>
                                              <asp:Label ID="lblDIFFQTY" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DIFFQTY") %>'>
                                                            </asp:Label>
                                          </ItemTemplate>
                                      </asp:TemplateColumn>
                                  </Columns>
                                  <PagerStyle HorizontalAlign="Left" Mode="NumericPages" />
                              </asp:DataGrid></asp:Panel>
                                  </td>
                                  <td style="width: 100px" valign="top">
                                      <asp:DataGrid ID="dgSegment" runat="server" AutoGenerateColumns="False" CellPadding="3"
                                          Font-Size="Medium" OnItemCommand="dgSWKS0239RevF_ItemCommand" OnItemDataBound="dgSWKS0239RevF_ItemDataBound"
      OnSelectedIndexChanged="dgSWKS0239RevF_SelectedIndexChanged" OnSortCommand="DoSorting"
                                          PageSize="30">
                                          <FooterStyle CssClass="GridFooter" HorizontalAlign="Center" />
                                          <SelectedItemStyle CssClass="GridSelectedItem" />
                                          <PagerStyle HorizontalAlign="Left" Mode="NumericPages" />
                                          <ItemStyle CssClass="GridItem" Font-Names="Tahoma" Font-Size="Small" HorizontalAlign="Center" />
                                          <HeaderStyle BackColor="DarkSeaGreen" CssClass="GridHeader" Font-Names="Arial Narrow"
                                              HorizontalAlign="Center" />
                                          <Columns>
                                              <asp:TemplateColumn HeaderText="PROD_GROUP" SortExpression="PROD_GROUP">
                                                  <ItemStyle Wrap="False" />
                                                  <ItemTemplate>
                                                      <asp:Label ID="lblPROD_GROUP" runat="server" CommandName="DisplayOPNDetails" Text='<%#  DataBinder.Eval(Container, "DataItem.PROD_GROUP") %>'>
                                                              </asp:Label>
                                                  </ItemTemplate>
                                              </asp:TemplateColumn>
                                              <asp:TemplateColumn HeaderText="PROD_REV" SortExpression="PROD_REV">
                                                  <ItemStyle Wrap="False" />
                                                  <ItemTemplate>
                                                      <asp:Label ID="lblPROD_REV" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PROD_REV") %>'>
                                                            </asp:Label>
                                                  </ItemTemplate>
                                              </asp:TemplateColumn>
                                              <asp:TemplateColumn HeaderText="PKG_GROUP" SortExpression="PKG_GROUP">
                                                  <ItemStyle Wrap="False" />
                                                  <ItemTemplate>
                                                      <asp:Label ID="lblPKG_GROUP" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PKG_GROUP") %>'>
                                                            </asp:Label>
                                                  </ItemTemplate>
                                              </asp:TemplateColumn>
                                              <asp:TemplateColumn HeaderText="CMTQTY" SortExpression="CMTQTY">
                                                  <ItemStyle Wrap="False" />
                                                  <ItemTemplate>
                                                      <asp:Label ID="lblCMTQTY" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CMTQTY") %>'>
                                                            </asp:Label>
                                                  </ItemTemplate>
                                              </asp:TemplateColumn>
                                              <asp:TemplateColumn HeaderText="PQTY" SortExpression="PQTY">
                                                  <ItemStyle Wrap="False" />
                                                  <ItemTemplate>
                                                      <asp:Label ID="lblPQTY" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PQTY") %>'>
                                                            </asp:Label>
                                                  </ItemTemplate>
                                              </asp:TemplateColumn>
                                          </Columns>
                                      </asp:DataGrid></td>
                                  <td style="width: 100px" valign="top">
                          <dotnetCHARTING:Chart ID="Chart2" runat="server" UseFile="False" UseSession="True" Visible="False">
                              <DefaultLegendBox CornerBottomRight="Cut" Padding="4">
                                  <DefaultEntry ShapeType="None">
                                  </DefaultEntry>
                                  <HeaderEntry ShapeType="None" Visible="False">
                                  </HeaderEntry>
                              </DefaultLegendBox>
                              <SmartForecast Start="" TimeSpan="00:00:00" />
                              <DefaultElement ShapeType="None">
                                  <DefaultSubValue Name="">
                                  </DefaultSubValue>
                                  <LegendEntry ShapeType="None">
                                  </LegendEntry>
                              </DefaultElement>
                              <ChartArea StartDateOfYear="">
                                  <Label Font="Tahoma, 8pt">
                                  </Label>
                                  <TitleBox Position="Left">
                                      <Label Color="Black">
                                      </Label>
                                  </TitleBox>
                                  <DefaultElement ShapeType="None">
                                      <DefaultSubValue Name="">
                                      </DefaultSubValue>
                                      <LegendEntry ShapeType="None">
                                      </LegendEntry>
                                  </DefaultElement>
                                  <LegendBox CornerBottomRight="Cut" Padding="4" Orientation="TopRight">
                                      <DefaultEntry ShapeType="None">
                                      </DefaultEntry>
                                      <HeaderEntry Name="Name" ShapeType="None" SortOrder="-1" Value="Value" Visible="False">
                                          <LabelStyle Font="Arial, 8pt, style=Bold" />
                                      </HeaderEntry>
                                  </LegendBox>
                                  <XAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </XAxis>
                                  <YAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </YAxis>
                              </ChartArea>
                              <TitleBox Position="Left">
                                  <Label Color="Black">
                                  </Label>
                              </TitleBox>
                          </dotnetCHARTING:Chart>
                                  </td>
                                  <td style="width: 100px" valign="top">
                          <dotnetCHARTING:Chart ID="Chart1" runat="server" Height="484px" Type="ComboHorizontal" UseFile="False" UseSession="True" Width="625px" Visible="False">
                              <DefaultLegendBox CornerBottomRight="Cut" Padding="4">
                                  <DefaultEntry ShapeType="None">
                                  </DefaultEntry>
                                  <HeaderEntry ShapeType="None" Visible="False">
                                  </HeaderEntry>
                              </DefaultLegendBox>
                              <SmartForecast Start="" TimeSpan="00:00:00" />
                              <DefaultElement ShapeType="None">
                                  <DefaultSubValue Name="">
                                  </DefaultSubValue>
                                  <LegendEntry ShapeType="None">
                                  </LegendEntry>
                              </DefaultElement>
                              <ChartArea StartDateOfYear="">
                                  <Label Font="Tahoma, 8pt">
                                  </Label>
                                  <TitleBox Position="Left">
                                      <Label Color="Black">
                                      </Label>
                                  </TitleBox>
                                  <DefaultElement ShapeType="None">
                                      <DefaultSubValue Name="">
                                          <Line Length="4" />
                                      </DefaultSubValue>
                                      <LegendEntry ShapeType="None">
                                      </LegendEntry>
                                  </DefaultElement>
                                  <LegendBox CornerBottomRight="Cut" Padding="4" Orientation="TopRight">
                                      <DefaultEntry ShapeType="None">
                                      </DefaultEntry>
                                      <HeaderEntry Name="Name" ShapeType="None" SortOrder="-1" Value="Value" Visible="False">
                                          <LabelStyle Font="Arial, 8pt, style=Bold" />
                                      </HeaderEntry>
                                  </LegendBox>
                                  <XAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </XAxis>
                                  <YAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </YAxis>
                              </ChartArea>
                              <TitleBox Position="Left">
                                  <Label Color="Black">
                                  </Label>
                              </TitleBox>
                          </dotnetCHARTING:Chart>
                                  </td>
                                  <td style="width: 100px" valign="top">
                          <dotnetCHARTING:Chart ID="Chart3" runat="server" UseFile="False" UseSession="True" Visible="False">
                              <DefaultLegendBox CornerBottomRight="Cut" Padding="4">
                                  <DefaultEntry ShapeType="None">
                                  </DefaultEntry>
                                  <HeaderEntry ShapeType="None" Visible="False">
                                  </HeaderEntry>
                              </DefaultLegendBox>
                              <SmartForecast Start="" TimeSpan="00:00:00" />
                              <DefaultElement ShapeType="None">
                                  <DefaultSubValue Name="">
                                  </DefaultSubValue>
                                  <LegendEntry ShapeType="None">
                                  </LegendEntry>
                              </DefaultElement>
                              <ChartArea StartDateOfYear="">
                                  <Label Font="Tahoma, 8pt">
                                  </Label>
                                  <TitleBox Position="Left">
                                      <Label Color="Black">
                                      </Label>
                                  </TitleBox>
                                  <DefaultElement ShapeType="None">
                                      <DefaultSubValue Name="">
                                      </DefaultSubValue>
                                      <LegendEntry ShapeType="None">
                                      </LegendEntry>
                                  </DefaultElement>
                                  <LegendBox CornerBottomRight="Cut" Padding="4" Orientation="TopRight">
                                      <DefaultEntry ShapeType="None">
      </DefaultEntry>                                                                                                                             <HeaderEntry Name="Name" ShapeType="None" SortOrder="-1" Value="Value" Visible="False">
                                          <LabelStyle Font="Arial, 8pt, style=Bold" />
                                      </HeaderEntry>
                                  </LegendBox>
                                  <XAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </XAxis>
                                  <YAxis GaugeLabelMode="Default" GaugeNeedleType="One" SmartScaleBreakLimit="2" TimeInterval="Minutes">
                                      <TimeScaleLabels MaximumRangeRows="4">
                                      </TimeScaleLabels>
                                      <ScaleBreakLine Color="Gray" />
                                      <ZeroTick>
                                          <Line Length="3" />
                                      </ZeroTick>
                                      <MinorTimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <Label Alignment="Center" Font="Arial, 9pt, style=Bold" LineAlignment="Center">
                                      </Label>
                                      <TimeIntervalAdvanced Start="" TimeSpan="00:00:00" />
                                      <DefaultTick>
                                          <Line Length="3" />
                                          <Label Text="%Value">
                                          </Label>
                                      </DefaultTick>
                                  </YAxis>
                              </ChartArea>
                              <TitleBox Position="Left">
                                  <Label Color="Black">
                                  </Label>
                              </TitleBox>
                          </dotnetCHARTING:Chart>
                                  </td>
                              </tr>
                          </table>
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 30px">
                      </td>
                  </tr>
                  <tr>
                      <td colspan="4" style="height: 157px">
                          &nbsp;</td>
                      <td colspan="1" style="width: 125px; height: 157px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 157px">
                      </td>
                      <td colspan="1" style="width: 125px; height: 157px">
                      </td>
                  </tr>
                  <tr>
                      <td colspan="1" style="height: 157px">
                          &nbsp;</td>
                      <td colspan="1" style="height: 157px">
                          &nbsp;</td>
                      <td colspan="7" style="height: 157px">
                          <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Clone"
                              TypeName="dsSWKS0239RevF"></asp:ObjectDataSource>
                          &nbsp;
                          <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="Clone"
                              TypeName="dsSWKS0239RevF"></asp:ObjectDataSource>
                          &nbsp;&nbsp;&nbsp;<br />
                          &nbsp;
                          <br />
                          </td>
                  </tr>
                  <tr>
                      <td style="width: 100px">
                      </td>
                      <td style="width: 79px">
                      </td>
                      <td style="width: 100px">
                      </td>
                      <td style="width: 125px">
                      </td>
                      <td style="width: 125px">
                      </td>
                      <td style="width: 125px">
                      </td>
                      <td style="width: 125px">
                      </td>
                  </tr>
              </table>
          </div>
          </form>
      </body>
      </html>
      Can you please help to solve this issue ? Can you advice me what I need to do / change to resolve this display problem ?

      Thanks for your help.
      Last edited by Plater; Nov 12 '08, 08:11 PM. Reason: ugh whitespace

      Comment

      • iam_clint
        Recognized Expert Top Contributor
        • Jul 2006
        • 1207

        #4
        I would say make sure you have a doctype set and are validating the resulting HTML. Most problems come from not setting a doctype. Also you may need to check your CSS for heights and overflows that would be causing this cutoff

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          I actually had to go and look that object up, since i had never heard of asp:datagrid, just asp:gridview
          Here is what I got from msdn:
          Originally posted by msdn
          Before using the DataGrid control, consider using the GridView control instead. The GridView control is new in the .NET Framework version 2.0 and is the successor to the DataGrid control.

          Comment

          • nirmala26
            New Member
            • Nov 2008
            • 7

            #6
            I got this to work... the issue was with the Height set under PANEL...once i deleted the hard coded value and set the height to auto, the webpage works fine on all the browsers (IE 7.0, Firefox).
            The deletion of the Height value in the Panel where the buttons were embedded, also helped to align the buttons correctly without overlapping.
            Thanks to everyone who gave me suggestions and helped me narrow down the cause of concern.
            Good Luck :)

            Comment

            Working...