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.

sundry treeview questions

Thread ID:

Created:

Updated:

Platform:

Replies:

48373 Aug 25,2006 06:14 AM Nov 30,2006 05:11 PM ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Tony Butler
Asked On August 25, 2006 06:14 AM

Cancelling a node name change
Can this be done?
I''d like to prompt the user to confirm they wish to save the change, or cancel if preferred.

Scrolling into view.
If I expand a node and the tree is bigger than the area assigned to it, the expanded node scrolls off the page. This is a real pain where the user wants to drill down nodes at the bottom of the display area. Is there any way to keep the selected node in view when it is expanded?

storing data in a node.
I would like to store more than just an ID and description in a node (eg I want to store the parent Id because I want to be able to "walk" up the tree to find my parents).
Is there a way to do this?

many thanks guys!

Bhuvana [Syncfusion]
Replied On August 28, 2006 06:10 AM

Hi Tony,

Scrolling into view: In the beta version of 4.3, when vertical scrollbar appears, by default, the view of the selected node will be maintained.

Canceling a node name change: You can press ESC to cancel the node text changes. There is no option provided to prompt the user for confirmation.

Storing data in node: In 4.3 beta, we have included ''Value'' property in which you can store any internal strings.

Otherwise, you can get the parent node as follows:

//FindNode() is used to get the node by giving childID
TreeViewNode childnode = TreeView1.FindNode("childnodeID");
//ParentItem is used to get the parent node of the childnode
string x=childnode.ParentItem.Text;

You can download the beta version of 4.3 at:

http://www2.syncfusion.com/Installs/v4.3.0.1/syncfusionessentialstudiosetup.exe

Please contact our sales person for the unlock key.

Regards,
Bhuvana

Ramesh Praveen [Syncfusion]
Replied On August 28, 2006 11:36 AM

Tony,

Please download this later beta at:

http://www2.syncfusion.com/Installs/v4.3.0.7/syncfusionessentialstudiosetup.exe

-Praveen

Administrator [Syncfusion]
Replied On November 30, 2006 05:11 PM

Hi Tony,

Our 4.4 final version has been released today. This version includes advanced features and fixes.

Please download it in the following location,

http://www2.syncfusion.com/Installs/v4.4.0.51/syncfusionessentialstudiosetup.exe

Thank you for using syncfusion products.

Regards,
SureshSekaran

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.

;