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
240
UltraWebGrid - Visual Studio 2005 - Single row of data not showing after bind
posted

When we upgraded our product to the latest Infragistics version (Vol. 3 CLR 2.0) along with the upgrade to Visual Studion 2005 and .Net 2.0, I'm having an issue with UltraWebGrid when the data returned and binded to the grid has only 1 row of data in it.

The grid is displaying the headers of the columns that we define in the initialize layout but the data row is not displaying. 
I've verified that the data is going through the databind (we do additional logic) and if you "View Source" of the web page, the data is there but not displayed on the actual web page.

Here's the grid:

<igtbl:ultrawebgrid id="UltraWebGrid1" runat="server" Width="100%" visible="False" Height="200px">

<DisplayLayout ColWidthDefault="" StationaryMargins="Header" AllowSortingDefault="OnClient" RowHeightDefault="20px"

Version="4.00" GridLinesDefault="Horizontal" SelectTypeRowDefault="Extended" HeaderClickActionDefault="SortSingle"

BorderCollapseDefault="Separate" CellSpacingDefault="2" CellPaddingDefault="2" Name="UltraWebGrid1"

TableLayout="Fixed" CellClickActionDefault="RowSelect">

<AddNewBox>

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

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

</BorderDetails>

</Style>

</AddNewBox>

<Pager>

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

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

</BorderDetails>

</Style>

</Pager>

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

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

</HeaderStyleDefault>

<FrameStyle Width="100%" BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" BorderStyle="Solid"

Height="200px"></FrameStyle>

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

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

</FooterStyleDefault>

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

<SelectedRowStyleDefault ForeColor="HighlightText" BackColor="Highlight"></SelectedRowStyleDefault>

<RowStyleDefault BorderWidth="1px" Font-Names="Latha" BorderColor="Gray" BorderStyle="Solid">

<Padding Left="3px"></Padding>

<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>

</RowStyleDefault>

</DisplayLayout>

<Bands>

<igtbl:UltraGridBand AllowColSizing="Free"></igtbl:UltraGridBand>

</Bands>

</igtbl:ultrawebgrid>

 

Here's the "view source" of the page:

<TABLE width="800">
       <tr>
        <td><input type='hidden' id='UltraWebGrid1' name='UltraWebGrid1' value="" /><table border='0' cellpadding='0' cellspacing='0' id='UltraWebGrid1_main' style="overflow:hidden;table-layout:fixed;position:relative;width:100%;height:200px;" class="ig_49f5d809_r0" onresize="igtbl_onResize('UltraWebGrid1');" onmousemove="igtbl_tableMouseMove(event,'UltraWebGrid1');" onmouseup="igtbl_tableMouseUp(event,'UltraWebGrid1');"><tr><td align="left" style="overflow:hidden;width:100%;"><div id='UltraWebGrid1_hdiv' onscroll="igtbl_onStationaryMarginScroll(event, 'UltraWebGrid1', 'UltraWebGrid1_hdiv')" style='overflow:hidden;width:100%;position:relative;'><table border='0' cellpadding='2' cellspacing='2' style='position:relative;table-layout:fixed;height:100%;' ' bandNo='0'><colgroup><col width='22px' /><col width='95px' /><col width='95px' /><col width='250px' /><col width='92px' /><col width='40px' /><col width='90px' /><col width='90px' /><col width='1' style='display:none;' /></colgroup><thead class="ig_49f5d809_r1 ig_49f5d809_r4" onmousedown='igtbl_headerClickDown(event,"UltraWebGrid1");' onmouseup='igtbl_headerClickUp(event,"UltraWebGrid1");' onmouseout='igtbl_headerMouseOut(event,"UltraWebGrid1");' onmousemove='igtbl_headerMouseMove(event,"UltraWebGrid1");' onmouseover='igtbl_headerMouseOver(event,"UltraWebGrid1");' oncontextmenu='igtbl_headerContextMenu(event,"UltraWebGrid1");' ondblclick='igtbl_cellDblClick(event,"UltraWebGrid1");'><tr><th width='22px' height='20px'><img src='../../NetAdvantage/Images/ig_tblBlank.gif' border='0' imgType='blank' style='visibility:hidden;' /></th><th id='UltraWebGrid1_c_0_0' columnNo='0' height='20px' class="ig_49f5d809_r4 " style="display:none;"><nobr>Index</nobr></th><th id='UltraWebGrid1_c_0_1' columnNo='1' height='20px' class="ig_49f5d809_r4 "><nobr>Product Type</nobr></th><th id='UltraWebGrid1_c_0_2' columnNo='2' height='20px' class="ig_49f5d809_r4 "><nobr>Product Status</nobr></th><th id='UltraWebGrid1_c_0_3' columnNo='3' height='20px' class="ig_49f5d809_r4 "><nobr>Product</nobr></th><th id='UltraWebGrid1_c_0_4' columnNo='4' height='20px' class="ig_49f5d809_r4 "><nobr>State Status</nobr></th><th id='UltraWebGrid1_c_0_5' columnNo='5' height='20px' class="ig_49f5d809_r4 "><nobr>State</nobr></th><th id='UltraWebGrid1_c_0_6' columnNo='6' height='20px' class="ig_49f5d809_r4 "><nobr>Begin Dt</nobr></th><th id='UltraWebGrid1_c_0_7' columnNo='7' height='20px' class="ig_49f5d809_r4 "><nobr>End Dt</nobr></th></tr></thead></table></div></td></tr><tr id="UltraWebGrid1_mr" style="height:100%;"><td id="UltraWebGrid1_mc" align='left' style="height:100%;width:100%;vertical-align:top;"><div id="UltraWebGrid1_div" style="overflow:auto;width:100%;height:100%;" onscroll='igtbl_onScroll(event,"UltraWebGrid1");' tabIndexPage='0' hideFocus='true'><table id='G_UltraWebGrid1' bandNo='0'  border='0' cellpadding='2' cellspacing='2' style='table-layout:fixed;width:100%;position:relative;' onSelectStart='igtbl_selectStart(event,"UltraWebGrid1");' onmousedown='igtbl_cellClickDown(event,"UltraWebGrid1");' onmouseup='igtbl_cellClickUp(event,"UltraWebGrid1");' oncontextmenu='igtbl_cellContextMenu(event,"UltraWebGrid1");' onmousemove='igtbl_cellMouseMove(event,"UltraWebGrid1");' onmouseover='igtbl_cellMouseOver(event,"UltraWebGrid1");' onmouseout='igtbl_cellMouseOut(event,"UltraWebGrid1");' ondblclick='igtbl_cellDblClick(event,"UltraWebGrid1");'><colgroup><col width='22px' /><col width='95px' /><col width='95px' /><col width='250px' /><col width='92px' /><col width='40px' /><col width='90px' /><col width='90px' /><col width='1px' style='display:none;' /></colgroup><thead class="ig_49f5d809_r1 ig_49f5d809_r4" style='display:none;' onmousedown='igtbl_headerClickDown(event,"UltraWebGrid1");' onmouseup='igtbl_headerClickUp(event,"UltraWebGrid1");' onmouseout='igtbl_headerMouseOut(event,"UltraWebGrid1");' onmousemove='igtbl_headerMouseMove(event,"UltraWebGrid1");' onmouseover='igtbl_headerMouseOver(event,"UltraWebGrid1");' oncontextmenu='igtbl_headerContextMenu(event,"UltraWebGrid1");'><tr><th height='20px'><img src='../../NetAdvantage/Images/ig_tblBlank.gif' border='0' imgType='blank' style='visibility:hidden;' /></th><th id='UltraWebGrid1_c_0_0' columnNo='0' height='20px' class="ig_49f5d809_r4 " style="display:none;">&nbsp;</th><th id='UltraWebGrid1_c_0_1' columnNo='1' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_2' columnNo='2' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_3' columnNo='3' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_4' columnNo='4' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_5' columnNo='5' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_6' columnNo='6' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th><th id='UltraWebGrid1_c_0_7' columnNo='7' height='20px' class="ig_49f5d809_r4 ">&nbsp;</th></tr></thead><tbody style="height:100%" class="ig_49f5d809_r1 ig_49f5d809_r4"><tr id='UltraWebGrid1_r_0' style='height:20px;'><th id='UltraWebGrid1_l_0'style="width:22px;  height:20px;"><img src='../../NetAdvantage/Images/ig_tblBlank.gif' border='0' imgType='blank' style='visibility:hidden;' /></th><td style="display:none;"><nobr>0</nobr></td><td><nobr>Fixed Life</nobr></td><td><nobr>Active</nobr></td><td><nobr>ThisProduct</nobr></td><td><nobr>Active</nobr></td><td><nobr>AL</nobr></td><td><nobr>&nbsp;</nobr></td><td><nobr>&nbsp;</nobr></td></tr></tbody></table></div></td></tr></table></td>
       </tr>
      </TABLE>

 

If you look at the end of the above section the data is "Fixed Life", "Active", "ThisProduct"...etc

 

The same code / grid worked fine in the prior version.