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.

Adding a button in TreeViewADV

Thread ID:

Created:

Updated:

Platform:

Replies:

72622 Mar 28,2008 06:10 AM Apr 3,2008 02:15 AM Windows Forms 2
loading
Tags: Tools
Raul
Asked On March 28, 2008 06:10 AM

Hi,

Hw do I add buttons adjacent to the text in a TreeViewADV?

Also is it possible to add buttons only for a limited no. of rows.

Thanks in advance.

--Raul


Administrator [Syncfusion]
Replied On March 31, 2008 06:32 AM

Hi Raul,

Thank you for your interest in Syncfusion Products.

Yes it is possible to add button or any other control to the TreeviewNode using Custom Control option. But it is not possible to have more than one button for each node:


// Parent Node
this.treeViewAdv1.Nodes[3].CustomControl = this.button4;
// Child Node
this.treeViewAdv1.Nodes[4].Nodes[0].CustomControl = this.button5;


Please find the simple sample in the following link:

http://websamples.syncfusion.com/samples/Tools.Windows/F72622/main.htm

Please let me know if any concerns.

Regards,
Fathima


Raul
Replied On April 3, 2008 02:15 AM

Hi,

Thanks for the quick response. Its really overwhelming to use yr products and also get quick help for it.

Thanks,
Raul D'souza


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.

;