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.
What is the safest way to release the diagram referenced by an overview control when a MDI child form containing a diagram is closed. The overview control is on the MDI Parent.
I have found that after the child form is closed, the Overview still contains an image of the diagram. And, touching the overview control after the child form closes results in an unhandled null reference error.
I have tried to set the overview.diagram = null, as the child form closes, but this still causes an error.
ADAdministrator Syncfusion Team November 26, 2007 11:47 AM UTC
Hi Michael,
Thank you for your interest in Syncfusion products.
Safely releasing Overview Diagram Reference in MDI Application
You can safely release the Overview diagram reference in MDI application using the method DetachDiagram of OverView control in FormClosing event. The following code snippet illustrates this.