Clearing Layout

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?

3 Replies

DM Dinesh M Syncfusion Team 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


AD Administrator Syncfusion Team November 19, 2009 11:23 PM UTC

thank you very much.


DM Dinesh M Syncfusion Team November 20, 2009 11:48 AM UTC

Hi Samson,

Thanks for the update.

Regards,
Dinesh

Loader.
Up arrow icon