New Diagram

Hi,

I'd appreciate some help with the following question. The Diagram Builder example uses the .NewDocument() client-side function to start a new diagram without creating a new DiagramWebControl object. How could we achieve the same functionality from server-side? We need to do some server-side processing with the old diagram's model before creating a new one. Thanks.

Regards,
Imax

3 Replies

DM Dinesh M Syncfusion Team November 4, 2009 11:39 AM UTC

Hi Imax,

There are no direct ways to achieve your requirement and the workaround for getting a new document appearance is to use the following server side code.

DiagramWebControl1.Model.Clear();

Regards,
Dinesh


LA Larssec November 9, 2009 08:29 AM UTC

Hi Dinesh,

Thanks for your help.

Regards,
Imax


DM Dinesh M Syncfusion Team November 11, 2009 06:40 AM UTC

Hi Imax,

Thank you for your update.

Regards,
Dinesh

Loader.
Up arrow icon