Hi,
We have found the following behavior with Web Grid, and want to confirm if the same is a bug.
Created an Unbound column of CheckBox Type, and placed a 'Test Postback' on the page (outside the WebGrid).
Check one or more Check Boxes
Click 'Test Postback'
It works fine for the first postback.
User sees Check Boxes selected still.
Click 'Test Postback' again
This empties unchecks all Check Boxes in the Column.
Can somebody tell me if this behavior is by design or is a bug?
Also, is there any solution as we need to keep the CheckBox selection as is across all postbacks (Except converting the unbound column to a bound column and preserving its state in source data object).
Regards,
MPVBRao.
It is defined in design as given below,
<igtbl:UltraGridColumn Key="Select" Type="CheckBox" DataType="System.Boolean" Width="1%"
AllowUpdate="Yes">
<Header Caption="Select">
<RowLayoutColumnInfo OriginX="7" />
</Header>
<Footer>
</Footer>
</igtbl:UltraGridColumn>
Thanks & Regards,
Did you add the unbound column in code or in the designer?
If you added the column in code, how did you do it? It's possible that the column isn't being stored in ViewState. Depending on how you created the column object, this might be an expected result. The following post provides more details on this behavior, and how to get around it:https://es.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/52172/ultracombo-with-dropdownlist-style-has-missing-borders#52172