I have a UltraWebGrid inside a WebAsyncRefreshPanel. The grid is populated during Page_Load. When displayed 1st the data rows are displayed like headers. After 1st postback the data rows displayed correctly as shown in the attached screenshot.
Any idea what's wrong?
<igtbl:UltraWebGrid ID="QueryGUIDGrid" runat="server" ImageDirectory="../Styles/Office2007Black/WebGrid/"
Width="100%" Height="300px" OnDblClick="QueryGrid_DblClick">
<Bands>
<igtbl:UltraGridBand Key="BAND0">
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
<Columns>
<igtbl:UltraGridColumn DataType="System.Int32" Key="ID" Width="30px">
<Header Caption="ID" Title="ID">
</Header>
<CellStyle HorizontalAlign="Right">
</CellStyle>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Key="GUID" Width="240px">
<Header Caption="GUID" Title="GUID">
<RowLayoutColumnInfo OriginX="1" />
<Footer>
</Footer>
<igtbl:UltraGridColumn Key="CONTEXT" Width="220px">
<Header Caption="Context" Title="Context">
<RowLayoutColumnInfo OriginX="2" />
<igtbl:UltraGridColumn Key="USERID" Width="60px">
<Header Caption="Userid" Title="Userid">
<RowLayoutColumnInfo OriginX="3" />
<igtbl:UltraGridColumn AllowUpdate="Yes" DataType="System.DateTime" EditorControlID="WebDateChooser1"
Format="yyyy-MM-dd" Key="LASTUPD" Type="Custom" Width="120px">
<Header Caption="Lastupd" Title="Lastupd">
<RowLayoutColumnInfo OriginX="4" />
<igtbl:UltraGridColumn Key="BUFFER_VER" Width="260px">
<Header Caption="BufferVersion" Title="BufferVersion">
<RowLayoutColumnInfo OriginX="5" />
</Columns>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AllowColSizingDefault="Free" BorderCollapseDefault="Separate"
Name="QueryGUIDGrid" SelectTypeRowDefault="Extended" StationaryMargins="HeaderAndFooter" TableLayout="Fixed"
RowHeightDefault="20px" IndentationTypeDefault="Indented">
<FrameStyle CssClass="igwgFrameBlack2k7" Width="100%" Height="300px">
</FrameStyle>
<Images ImageDirectory="../Styles/Office2007Black/WebGrid/">
</Images>
<RowAlternateStyleDefault CssClass="igwgRowAltBlack2k7">
</RowAlternateStyleDefault>
<EditCellStyleDefault CssClass="igwgCellEdtBlack2k7">
</EditCellStyleDefault>
<HeaderStyleDefault CssClass="igwgHdrBlack2k7">
</HeaderStyleDefault>
<RowSelectorStyleDefault CssClass="igwgRowSlctrBlack2k7" Width="10px">
</RowSelectorStyleDefault>
<SelectedHeaderStyleDefault CssClass="igwgHdrSelBlack2k7">
</SelectedHeaderStyleDefault>
<RowStyleDefault CssClass="igwgRowBlack2k7">
<Padding Left="3px" Right="5px" />
<BorderDetails WidthBottom="1px" WidthTop="1px" ColorBottom="Black" ColorRight="Black" StyleBottom="Dotted"
StyleRight="Dotted" WidthLeft="1px" WidthRight="1px" />
</RowStyleDefault>
<SelectedRowStyleDefault CssClass="igwgRowSelBlack2k7">
<BorderDetails StyleBottom="Solid" StyleTop="Solid" />
</SelectedRowStyleDefault>
</DisplayLayout>
</igtbl:UltraWebGrid>
My initial impression is that this may be a bug. I can't think of any setup that could cause this to happen, though I can't rule this out at this point.
Are you running the latest hot fix of the version of NetAdvantage for .NET that you're using? If not, you may want to consider testing under that hot fix to see if the issue is already addressed.
If the hot fix doesn't help, or if you'd like us to verify whether or not a hot fix will help, then please submit a support request so that a Developer Support Engineer can investigate this issue. I suggest that you include a sample project that we can run and debug that shows this behavior, so that we know we're running the same code you're running.