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

Why new node is regenerated upon button click?

Thread ID:





94952 Jun 14,2010 12:45 PM UTC Jun 16,2010 01:36 PM UTC ASP.NET Web Forms (Classic) 1
Tags: DiagramWebControl
Jitul Chanar
Asked On June 14, 2010 12:45 PM UTC


I am new and still exploring how to use the diagram best for my current project.

I have created a simple diagramwebcontrol with a node and a button.
What I did is, load the page and try to drag the node around and click the button to retrieve the node properties, such as x and y location. But I noticed, upon button clicked, new node will be generated based on how many times I drag the previous node.

What can I do to prevent this happen?
All I wanted to do is, to load the diagramwebcontrol with only one node.

Hope to hear from Syncfusion soon.


Jaffersathick B [Syncfusion]
Replied On June 16, 2010 01:36 PM UTC

Hi Jitul Chanar,

Thank you for using syncfusion products.

I noticed that in you sample everytime when postback happens new node is created. So only when you are clicking on the button two nodes are created in the diagram.

I modified you sample by checking for an Ispostback and added the nodes in the pageload.




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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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