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.

New Diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

90570 Oct 8,2009 05:57 AM Nov 11,2009 01:40 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Larssec
Asked On October 8, 2009 05:57 AM

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

Dinesh M [Syncfusion]
Replied On November 4, 2009 06:39 AM

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

Larssec
Replied On November 9, 2009 03:29 AM

Hi Dinesh,

Thanks for your help.

Regards,
Imax

Dinesh M [Syncfusion]
Replied On November 11, 2009 01:40 AM

Hi Imax,

Thank you for your 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.

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.

;