Infragistics4.Web.v11.1, Version=11.1.20111.1006
MS .NET Frameword Version 4.0.30319 SP1Rel
In my parent of the WHDG there is a UnboundCheckBoxField in the first column. This checkbox is used to delete the associated data in the row when the Save button is selected. This is done by posting back to the server, using SQL to get the data, put it in a DataSet and bind the DataSet to the WHDG. This all works as expected except the UnboundCheckBoxField. When the page refreshes, the UnboundCheckBoxField is filled in (a black square) instead of the unchecked state. I have tried all the following in the code behind, before binding the new DataSet, without luck. What is going on with this?
whdgOrganize.Rows.Clear()
whdgOrganize.ClearTemplates()
whdgOrganize.GridView.ClearTemplates()
whdgOrganize.GridView.Rows.Clear()
whdgOrganize.GridView.ClearDataSource()
HTML: <ig:UnboundCheckBoxField Key="RemoveDocument" Header-Text="Rem" Width="30px"> </ig:UnboundCheckBoxField>
I got around my problem is a goofy way. I create a DataTable with the first column of a type Boolean
Then I added a field to my select SQL and loan my DataReader into the table before binding the table to the grid.
SELECT
'false' as RemoveDocument
Now when I rebind my data to the UnBoundCheckboxField the partial state does not display.
I do not have time to create a working page for you but it is easy to reproduce. I just need a way to get around it quickly because of our production release. Put a UnboundCheckboxField the the parent row of a WHDG. Check the box, press a button to postback to the server. Delete the record associated with the row. Select the data from the database and rebind to the grid. All the remaining rows are in a partial state except for the header checkbox. See attached.
Hi IntegraySys76,
This is probably a separate bug then. The bug you found was related to ajax updates of checkbox columns. You are doing a full page postback. So it could be related to removing the row or something. Like I said, if you can attach a zip of a working page that reproduces this, I can confirm this or not.
regards,David Young
Infragistics4.Web.v11.1, Version=11.1.20111.2135
We just upgraded our project to the latest 11.1 release and the partial checkbox still displays in the UnboundCheckboxField. Please advise.
Hi,
That bug was resolved in a Service Release for 11.1. If you have build 1006, that was its found in version. It is resolved in build 2027 and higher. Please upgrade and see if the problem disappears.
thanks,Dave