When placing the second DataGridView on a form or a page and setting the Datasource under the Tasks the columns in the grid are not generating.
I can toggle the AutoGenerateColumns property and one column at a time will set but not always the column from the binding source used.
A separate test form can be used to setup a new grid using cut and past as a work around.
The process works fine in a standard winforms application.
Clearly a bug in the background.
To replicate this pull two datagridviews onto a form and setup the data binding and you will soon see the columns don’t populate.
Sample attached – pulled the Wisej.Framework.dll and xml out of bin folder to reduce the size.
Tried this on a couple machines and code projects and they all react the same.
Seems to be a bug with setting or changing a grid datasource. The grid will do the first column and then flip the properties dialog to that first column, sets the AutoGenerateColumns = False and stops generating the rest of the columns.
I have discovered that if I close the form and reopen it the grid columns generate as they should if the AutoGenerateColumns is reset to True on the offending grid.
I can work with this now that i’m aware of it.
Thanks for the fast response!
Please login first to submit.