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.
We have a dialog using the TreeViewAdv and TreeViewAdvDragHighlightTracker. Ever so rarely, users get this exception thrown when the dialog is disposing. Is there some order to how the TreeViewAdv should be disposed? I.e., could it be due to the highlight tracker being set to null before disposal of the TreeViewAdv? Should those 2 be reversed? Here''s my exception:
Unhandled exception System.ObjectDisposedException
Context: Triggered top level exception handler
Exception in System.Windows.Forms
Message: Cannot access a disposed object named "TreeViewAdv".
Object name: "TreeViewAdv".
Stack: at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.RectangleToScreen(Rectangle r)
at Syncfusion.Windows.Forms.ToolTipAdv.Label_MouseMove(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.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)