Frank0824

I am now using TreeView in my web page. I want to add some buttons next to some of the nodes in the treeview. The button should be aware of the value of its corresponding node in the tree.

Is there any good way of doing this Thanks!



Re: Windows Forms General TreeView Comtrol: Add buttons to nodes in TreeView control

Zhi-Xin Ye - MSFT

Hi,Frank

You can try implementing a custom node inherited from the TreeNode class,but I think there's a lot of work to do, have a look at this thread in ASP.NET forum,I recommend you to post asp.net problems on that forum for better responses, this forum is mainly for windows form application development.However, I wonder why do you want to add buttons to nodes, does the click event on node not enough

Hope it helps.
Best Regards.
Ye