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
215
Infragistics UltraWebGrid 9.1 issue
posted

I am using  ultrawebgrid version 9.1.20091.2055 (latest release). If any of the column of the grid is hidden and if we try to resize the header column , the column cannot be resized and gets distorted.This issue happens in IE8.

Code for aspx is:

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%

@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.2055, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

 

Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<!

 

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>Untitled Page</title>

</

 

head>

<

 

body>

 

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

 

<div>

 

<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="319px" Width="569px">

 

<Bands>

 

<igtbl:UltraGridBand>

 

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

 

</AddNewRow>

 

<Columns>

 

<igtbl:TemplatedColumn Width="25px" Hidden="true" >

 

<CellTemplate>

 

<input type="checkbox" />

 

</CellTemplate>

 

</igtbl:TemplatedColumn>

 

<igtbl:TemplatedColumn Width="25px" >

 

<CellTemplate>

 

<img id="SearchMenuBtn1" alt="image" title="click to see options for the account." src="../../../Images_Global/spacer.gif" class="listing-arrow" onclick="PopControl(this,SearchMenuDiv,'right');" />

 

</CellTemplate>

 

<Header>

 

<RowLayoutColumnInfo OriginX="1" />

 

</Header>

 

<Footer>

 

<RowLayoutColumnInfo OriginX="1" />

 

</Footer>

 

</igtbl:TemplatedColumn>

 

 

 

</Columns>

 

</igtbl:UltraGridBand>

 

</Bands>

 

<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowDeleteDefault="Yes"

 

AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"

 

HeaderClickActionDefault="SortMulti" Name="UltraWebGrid1" RowHeightDefault="20px"

 

RowSelectorsDefault="No" SelectTypeRowDefault="Extended" StationaryMargins="Header"

 

StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" ViewType="OutlookGroupBy">

 

<FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

 

BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="319px"

 

Width="569px">

 

</FrameStyle>

 

<Pager MinimumPagesForDisplay="2">

 

<PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

 

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

 

</PagerStyle>

 

</Pager>

 

<EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

 

</EditCellStyleDefault>

 

<FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

 

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

 

</FooterStyleDefault>

 

<HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

 

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

 

</HeaderStyleDefault>

 

<RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

 

Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">

 

<Padding Left="3px" />

 

<BorderDetails ColorLeft="Window" ColorTop="Window" />

 

</RowStyleDefault>

 

<GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

 

</GroupByRowStyleDefault>

 

<GroupByBox>

 

<BoxStyle BackColor="ActiveBorder" BorderColor="Window">

 

</BoxStyle>

 

</GroupByBox>

 

<AddNewBox Hidden="False">

 

<BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">

 

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

 

</BoxStyle>

 

</AddNewBox>

 

<ActivationObject BorderColor="" BorderWidth="">

 

</ActivationObject>

 

<FilterOptionsDefault>

 

<FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

 

CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

 

Font-Size="11px" Height="300px" Width="200px">

 

<Padding Left="2px" />

 

</FilterDropDownStyle>

 

<FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

 

</FilterHighlightRowStyle>

 

<FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

 

BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

 

Font-Size="11px">

 

<Padding Left="2px" />

 

</FilterOperandDropDownStyle>

 

</FilterOptionsDefault>

 

</DisplayLayout>

 

</igtbl:UltraWebGrid></div>

 

</form>

</

 

body>

</

 

html>

code for cs file is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

protected void Page_Load(object sender, EventArgs

e)

{

 

 

DataSet ds1 = new DataSet

();

 

 

DataTable dt1 = new DataTable

();

ds1.Tables.Add(dt1);

 

 

string columnStartName = "Column"

;

 

 

string

columnName;

 

 

for (int

i = 0; i < 10; i++)

{

 

 

if

(i < 10)

columnName = columnStartName +

 

"0"

+ i.ToString();

 

 

else

columnName = columnStartName + i.ToString();

ds1.Tables[0].Columns.Add(columnName,

 

typeof(string

));

}

 

 

for (int

j = 0; j < 20; j++)

{

 

 

DataRow

dr1 = ds1.Tables[0].NewRow();

 

 

for (int

i = 0; i < 10; i++)

{

 

 

if

(i < 10)

columnName = columnStartName +

 

"0"

+ i.ToString();

 

 

else

columnName = columnStartName + i.ToString();

dr1[columnName] =

 

"ABCDEF"

;

}

ds1.Tables[0].Rows.Add(dr1);

}

UltraWebGrid1.DataSource = ds1.Tables[0];

UltraWebGrid1.DataBind();

 

 

}

}

-Arati.

Parents
No Data
Reply Children