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
245
Infragistics grid Header error
posted

In our DotNET web application we are using Infragistics grid to show the report data. After the report gets generated if we expand any of the infragistics webpanels above the grid, the grid is getting disturbed. The header of the grid and the rows of the grid are getting detached. We were having NetAdvantage 2005 version. We were told that if we upgrade it to 2008 the problem will be fixed. But even with 2008 version we are facing the same issue. Can you help?

Parents
No Data
Reply
  • 10880
    posted

    I will probably need more information.  I tried the following with NetAdvantage 2008 Volume 2 and did not come across any issues.  I placed the grid both inside and outside the WebPanel.

    Also, I am using the Office2007Black style library and the Customers table of the northwind database.

    <body>

    <form id="form1" runat="server">

    <div>

    <igmisc:WebPanel ID="WebPanel1" runat="server" Height="80px" Width="375px">

    <Template>

    <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" DataKeyField="CustomerID" DataSourceID="SqlDataSource1"

    Height="400px" Width="500px">

    <Bands>

    <igtbl:UltraGridBand DataKeyField="CustomerID">

    <Columns>

    <igtbl:UltraGridColumn BaseColumnName="CustomerID" IsBound="True" Key="CustomerID">

    <Header Caption="CustomerID">

    </Header>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="CompanyName" IsBound="True" Key="CompanyName">

    <Header Caption="CompanyName">

    <RowLayoutColumnInfo OriginX="1" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="1" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="ContactName" IsBound="True" Key="ContactName">

    <Header Caption="ContactName">

    <RowLayoutColumnInfo OriginX="2" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="2" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="ContactTitle" IsBound="True" Key="ContactTitle">

    <Header Caption="ContactTitle">

    <RowLayoutColumnInfo OriginX="3" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="3" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="Address" IsBound="True" Key="Address">

    <Header Caption="Address">

    <RowLayoutColumnInfo OriginX="4" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="4" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="City" IsBound="True" Key="City">

    <Header Caption="City">

    <RowLayoutColumnInfo OriginX="5" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="5" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="Region" IsBound="True" Key="Region">

    <Header Caption="Region">

    <RowLayoutColumnInfo OriginX="6" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="6" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="PostalCode" IsBound="True" Key="PostalCode">

    <Header Caption="PostalCode">

    <RowLayoutColumnInfo OriginX="7" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="7" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="Country" IsBound="True" Key="Country">

    <Header Caption="Country">

    <RowLayoutColumnInfo OriginX="8" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="8" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="Phone" IsBound="True" Key="Phone">

    <Header Caption="Phone">

    <RowLayoutColumnInfo OriginX="9" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="9" />

    </Footer>

    </igtbl:UltraGridColumn>

    <igtbl:UltraGridColumn BaseColumnName="Fax" IsBound="True" Key="Fax">

    <Header Caption="Fax">

    <RowLayoutColumnInfo OriginX="10" />

    </Header>

    <Footer>

    <RowLayoutColumnInfo OriginX="10" />

    </Footer>

    </igtbl:UltraGridColumn>

    </Columns>

    <AddNewRow View="NotSet" Visible="NotSet">

    </AddNewRow>

    </igtbl:UltraGridBand>

    </Bands>

    <DisplayLayout BorderCollapseDefault="Separate" Name="UltraWebGrid1" RowHeightDefault="20px"

    StationaryMargins="HeaderAndFooter" TableLayout="Fixed" Version="4.00">

    <FrameStyle Height="400px" Width="500px">

    </FrameStyle>

    <ActivationObject BorderColor="" BorderWidth="">

    </ActivationObject>

    </DisplayLayout>

    </igtbl:UltraWebGrid>

    <br />

    a<br />

    a</Template>

    </igmisc:WebPanel>

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"

    DeleteCommand="DELETE FROM [Customers] WHERE [CustomerID] = @CustomerID" InsertCommand="INSERT INTO [Customers] ([CustomerID], [CompanyName], [ContactName], [ContactTitle], [Address], [City], [Region], [PostalCode], [Country], [Phone], [Fax]) VALUES (@CustomerID, @CompanyName, @ContactName, @ContactTitle, @Address, @City, @Region, @PostalCode, @Country, @Phone, @Fax)"

    SelectCommand="SELECT * FROM [Customers]" UpdateCommand="UPDATE [Customers] SET [CompanyName] = @CompanyName, [ContactName] = @ContactName, [ContactTitle] = @ContactTitle, [Address] = @Address, [City] = @City, [Region] = @Region, [PostalCode] = @PostalCode, [Country] = @Country, [Phone] = @Phone, [Fax] = @Fax WHERE [CustomerID] = @CustomerID">

    <DeleteParameters>

    <asp:Parameter Name="CustomerID" Type="String" />

    </DeleteParameters>

    <UpdateParameters>

    <asp:Parameter Name="CompanyName" Type="String" />

    <asp:Parameter Name="ContactName" Type="String" />

    <asp:Parameter Name="ContactTitle" Type="String" />

    <asp:Parameter Name="Address" Type="String" />

    <asp:Parameter Name="City" Type="String" />

    <asp:Parameter Name="Region" Type="String" />

    <asp:Parameter Name="PostalCode" Type="String" />

    <asp:Parameter Name="Country" Type="String" />

    <asp:Parameter Name="Phone" Type="String" />

    <asp:Parameter Name="Fax" Type="String" />

    <asp:Parameter Name="CustomerID" Type="String" />

    </UpdateParameters>

    <InsertParameters>

    <asp:Parameter Name="CustomerID" Type="String" />

    <asp:Parameter Name="CompanyName" Type="String" />

    <asp:Parameter Name="ContactName" Type="String" />

    <asp:Parameter Name="ContactTitle" Type="String" />

    <asp:Parameter Name="Address" Type="String" />

    <asp:Parameter Name="City" Type="String" />

    <asp:Parameter Name="Region" Type="String" />

    <asp:Parameter Name="PostalCode" Type="String" />

    <asp:Parameter Name="Country" Type="String" />

    <asp:Parameter Name="Phone" Type="String" />

    <asp:Parameter Name="Fax" Type="String" />

    </InsertParameters>

    </asp:SqlDataSource>

    <br />

    </div>

    </form>

    </body>

Children
No Data