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

Unselect a node programmatically

Thread ID:

Created:

Updated:

Platform:

Replies:

77135 Oct 15,2008 06:26 PM UTC Oct 28,2008 03:23 AM UTC WinForms 4
loading
Tags: Diagram
Ron Alan Sawyer
Asked On October 15, 2008 06:26 PM UTC

When I load my diagram with symbols and then start it, one of the nodes is always selected. I don't want any of them to be selected. Is there a way to prevent this?


Administrator [Syncfusion]
Replied On October 16, 2008 05:05 AM UTC

Hi RAS,

You can disable the default selection by the following call:

**********
this.diagram1.Controller.SelectionList.Clear();
**********

I am sure this will get the work done. Do write to me of your experiences.


Ron Alan Sawyer
Replied On October 22, 2008 02:39 PM UTC

Thanks for the response. Unfortunately that did not do the trick for me. I made the call immediately after loading the nodes and the last one still is selected.


Ron Alan Sawyer
Replied On October 24, 2008 09:42 PM UTC

Ajeet,
My apolgies, this was my error. Your solution did work, I had the code in the wrong place.


Administrator [Syncfusion]
Replied On October 28, 2008 03:23 AM UTC

Hi RAS,

Its nice to know that the solution worked and you got your solution in the clear!

Regards,
Ajeet



CONFIRMATION

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.

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

;