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

Adding nodes to a TreeView from the browser

Thread ID:





48369 Aug 25,2006 09:53 AM UTC Oct 17,2006 10:10 AM UTC ASP.NET Web Forms (Classic) 4
Tags: Tools
Tony Butler
Asked On August 25, 2006 09:53 AM UTC


The subject says it all.
I would like the user to be able to add nodes dynamically. The only dynamic adding examples I have seen do this server side.
Ideally, ajax would be involved to provide a richer user experience.

Has anyone done this/got any suggestions on how to do it?



Bhuvana [Syncfusion]
Replied On August 28, 2006 11:30 AM UTC

Hi Tony,

By setting ExpandMode property of the TreeViewNode to ServerSideCallback, the server-side Expand event will be triggered via callback, during which the node can be added dynamically.

Let us know if you need further assistance.


Tony Butler
Replied On August 29, 2006 07:02 AM UTC


That''s not quite what I mean.
I want the user to be able to add a new node at "runtime". They will navigate a hierarchy (Which yes, is loaded on demand via ajax callbacks) to the appropriate point, and then choose to add a new node, which I want automatically saved back into the data source as well as seeing it on screen.
Ideally, this adding node functionality will be using ajax also.



Bhuvana [Syncfusion]
Replied On September 1, 2006 02:34 PM UTC

Hi Tony,

Sorry for the inconvenience.

After 4.3 release, scheduled for next week, we will immediately work on implementing this feature and update you within 3 weeks time.


Bhuvana [Syncfusion]
Replied On October 17, 2006 10:10 AM UTC

Hi Tony,

Sorry for the delayed response.

As you had requested earlier, Treeview can be placed inside CallbackPanel and you can add/remove the nodes using ajax functionality.

You can download it from the following link.


Let us know if you need any assistance.



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