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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

calling Diagram.Controller.UpdateAllViews();

Thread ID:





52829 Dec 5,2006 08:38 AM UTC Dec 11,2006 01:49 PM UTC WinForms 2
Tags: Diagram
Markku Hamarila
Asked On December 5, 2006 08:38 AM UTC

I'm using version in my tool.

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.Nagarajan [Syncfusion]
Replied On December 7, 2006 05:31 PM UTC

Hi Markku,

We regret for the inconvenience caused. I have tested this issue in v. 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.


Markku Hamarila
Replied On December 11, 2006 01:49 PM UTC


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.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon