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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Clearing Layout

Thread ID:

Created:

Updated:

Platform:

Replies:

91443 Nov 19,2009 02:40 AM UTC Nov 20,2009 11:48 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Administrator [Syncfusion]
Asked On November 19, 2009 02:40 AM UTC

Hi Again,
i am working on this sample code i have integrated with the current radial layout where in i have a drop down with a list of users and on select index changed, i need to reload the layout,
but currently as i select users, it keeps appending the new diagram to the existing one.
DiagramWebControl1.Controls.Clear()
doesnt work too... am i missing something else?

Dinesh M [Syncfusion]
Replied On November 19, 2009 01:55 PM UTC

Hi Samson,

Thank you for your interest in Syncfusion products.

In order to clear the nodes in the diagram you have to use the following code.

DiagramWebControl1.Model.RemoveAllChildren();

Regards,
Dinesh

Administrator [Syncfusion]
Replied On November 19, 2009 11:23 PM UTC

thank you very much.

Dinesh M [Syncfusion]
Replied On November 20, 2009 11:48 AM UTC

Hi Samson,

Thanks for the update.

Regards,
Dinesh

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

;