The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Intermittently (twice in the last month) we get the following exception when closing a dialog that has a ComboBoxAutoComplete on it. From the little info we get from Google, this appears to be a windows problem. Has anyone seen it, or know of a way we can override that OnHandleDestroyed and eat the exception if it occurs? I'm assuming the listview is used internally by ComboBoxAutoComplete, although I don't see it in Spy++.
Thanks, Mike
(System.InvalidOperationException) - Number of selected items does not match actual selected items.
Stack trace:
at System.Windows.Forms.SelectedListViewItemCollection.get_SelectedItemArray() at System.Windows.Forms.ListView.OnHandleDestroyed(EventArgs e) at System.Windows.Forms.Control.WmDestroy(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
JJJisha Joy Syncfusion Team December 27, 2007 09:25 AM UTC
Hi Mike,
Thank you for providing query to us.
On analyzing the stack trace it seems that this issue is not caused due to our ComboBoxAutoComplete control. Could you please provide the complete stack trace so that we can analyze the issue further?
Could you please provide the sample in which issue is reproducing so that we could able to sort out the cause of the issue and provide you a solution?
Kindly let me know if you need further assistance. Regards, Jisha
MSMike ScanlonDecember 31, 2007 02:25 AM UTC
That's the entire stack trace, the callback is being called by another thread.
The exception is not in SyncFusion code, but the problem is we don't have access to the ListView, so we can't override the OnHandleDestoyed and eat the exception.
Do you have any record of someone complaining about this in the past?
Thanks, Mike
JJJisha Joy Syncfusion Team December 31, 2007 08:56 AM UTC
Hi Mike,
Thank you for your update.
I think issue is not because of the Syncfusion components and I am not able to find any past records regarding this.
Kindly let me know if you need further assistance. Regards, Jisha