Adding a button in TreeViewADV

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


2 Replies

AD Administrator Syncfusion Team March 31, 2008 10:32 AM UTC

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



RA Raul April 3, 2008 06:15 AM UTC

Hi,

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

Thanks,
Raul D'souza


Loader.
Up arrow icon