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.
When I delete some symbol (with or without connections) and after that delete operation call Diagram.Controller.UpdateAllViews() it throws NullReferenceException.
Any ideas if my diagram is wrong or if there is a known feature on diagram code?
J.J.Nagarajan Syncfusion Team December 7, 2006 05:31 PM UTC
Hi Markku,
We regret for the inconvenience caused. I have tested this issue in v.3.3.0.30 in our ContextMenus sample. I am afraid, I was not able to reproduce this issue. Could you please check the ContextMenus sample and let me know whether you are able to reproduce the issue in this sample?. It would be helpful if you provide a sample or modify the contextmenus sample to reproduce this issue.It will help us to resolve it as early as possible.
Thanks for using Essential Diagram.
Regards, J.Nagaraj
MHMarkku HamarilaDecember 11, 2006 01:49 PM UTC
Hi,
I noticed small difference between my code and ContextMenus sample. I used Diagram.Controller.UpdateAllViews(); and sample uses Diagram.Model.UpdateViews();.
I changed my code to use Diagram.Model.UpdateViews(); and it works perfectly. So I'm happy.