I am experiencing problems with the latest Syncfusion Grid version 184.108.40.206, that never used to be there...
1. I get this message all over the place in Debug and Release and it is cluttering up my application's log file.
MouseControllerDispatcher.Remove(False, gridControl_DesignMaterialModel, OleDataSource)
2. Am now getting this RTE where as it has always been fine before that, when working with a grid with combo-box cells.
System.InvalidOperationException: dropDownImp is null
ADAdministrator Syncfusion Team July 8, 2003 01:23 AM
1) is being caused by TraceUtil.TraceCurrentMethodInfo calls that should have been TraceUtil.TraceCurrentMethodInfoIf calls. This will be corrected in the next point release.
2)Can you post more information on this problem? You might make sure you are loading only the 220.127.116.11 dll's and not loading earlier DLLs (check your output windows for the notes on what DLL's are loaded). If you see 18.104.22.168 DLL's being loaded, check your GAC (\Windows\assembly folder) for any copies of these older DLLs and remove them if they are there.
WHWayne HartellJuly 8, 2003 04:09 PM
No old dlls being loaded. I do have them in my GAC, but they need to be there for other Apps I have on my machine that were built against those earlier versions.
Another developer at my company seems to think that it might be to do with a hack I had to write for grids with combobox cells. The specific case was where virtual data behind the grid was changed (in some kind of global fashion) via a right-click menu. The right-click menu, however, could be accessed by right-clicking on a grid cell. For that case, the data in that cell (the CurrentCell) would not refresh until leaving the cell and clicking back on it (when QueryCellInfo fired). Now, to get around this, I added some code into our application framework that would call the following two lines to "force" the CurrentCell to re-query for its value, and update right away...
From the error output, it seems that it is the call to ToggleDropDown() that causes the RTE.
For now, since I am working on a patch for my App that shipped with 22.214.171.124, I am simply reverting to use that version of Syncfusion.
It would be nice, however, to know how to get the CurrentCell to request its data in an easier fashion than the above, which now seems like it won't work anyway (in the new version). I might be missing an obvious method of doing this.
ADAdministrator Syncfusion Team July 8, 2003 05:34 PM
it's weird that dropdownImp is null. Any cell that is derived form GridDropDownCellRenderer will have that variable initialized in the GridDropDownCellRenderer constructor and I can't find a place where we would set it to null.
Anyway, some alternative current cell methods you might look at are:
This will save cell changes without deactivating it.
this will reinitialize the current cell and reload contents from cell.
Another question. Is the cell type itsself changed when the underlying data changes?
If that does not help, we will need a small sample so that we can reproduce and look into the problem.