We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Problems with Latest Version 1.6.1.0

Thread ID:

Created:

Updated:

Platform:

Replies:

5539 Jul 7,2003 11:53 PM Jul 8,2003 06:34 PM Windows Forms 3
loading
Tags: GridControl
Wayne Hartell
Asked On July 7, 2003 11:53 PM

I am experiencing problems with the latest Syncfusion Grid version 1.6.1.0, 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 at Syncfusion.Windows.Forms.Grid.GridCellRendererBase.OnShowDropDown() at Syncfusion.Windows.Forms.Grid.GridCurrentCell.ShowDropDown() at Syncfusion.Windows.Forms.Grid.GridCurrentCell.ToggleDropDown() Regards, Wayne.

Administrator [Syncfusion]
Replied On July 8, 2003 02: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 1.6.1.0 dll's and not loading earlier DLLs (check your output windows for the notes on what DLL's are loaded). If you see 1.5.2.0 DLL's being loaded, check your GAC (\Windows\assembly folder) for any copies of these older DLLs and remove them if they are there.

Wayne Hartell
Replied On July 8, 2003 05: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... GridControl.CurrentCell.Reactivate(); GridControl.CurrentCell.ToggleDropDown(); 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 1.5.2.0, 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. Cheers, Wayne.

Administrator [Syncfusion]
Replied On July 8, 2003 06:34 PM

Wayne, 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: - grid.CurrentCell.ConfirmChanges(false); This will save cell changes without deactivating it. - grid.CurrentCell.Refresh() 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. Stefan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;