Hi.
I've encountered the following strange bevaviour in my GridViews.
Some GridViews in my application use bound ComboBox columns (NOT multi column).
Recently, I added functionality for saving/restoring the grid layout to/from files, using SaveLayout() and LoadLayout() functions of the grid.
Now, it seems, that after calling LoadLayout, my ComboBox columns are no long working properly. When I try to edit the content, I can see the DrowDown-Arrow button, but no content is displayed. The same code works perfectly when I leave out the LoadLayout() call.
I've debugged the code a bit, and it seems to me, that the combo box column "forgets" its data source (assigned during design time) upon calling LoadLayout(). If I re-assign the data source to the column in code after calling LoadLayout(), everything's fine again.
I can live with this workaround, but still wanted to ask if this is a known issue, or if I'm doing something wrong.
Thanks
I've encountered the following strange bevaviour in my GridViews.
Some GridViews in my application use bound ComboBox columns (NOT multi column).
Recently, I added functionality for saving/restoring the grid layout to/from files, using SaveLayout() and LoadLayout() functions of the grid.
Now, it seems, that after calling LoadLayout, my ComboBox columns are no long working properly. When I try to edit the content, I can see the DrowDown-Arrow button, but no content is displayed. The same code works perfectly when I leave out the LoadLayout() call.
I've debugged the code a bit, and it seems to me, that the combo box column "forgets" its data source (assigned during design time) upon calling LoadLayout(). If I re-assign the data source to the column in code after calling LoadLayout(), everything's fine again.
I can live with this workaround, but still wanted to ask if this is a known issue, or if I'm doing something wrong.
Thanks