Add a control to a treenode. TreeView

A

Alessandro Zifiglio

What you are looking at is an example on how to customize a winForms
treeview. Its pretty useless to you =P

There is no out of the box functionality that allows you to customize each
node with a control of your chosing. You will need to inherit the treeview
and override the original rendering, maybe exposing a template property
either for each node or one for the entire control that is repeated for
everynode. Either way, you need to be familiar with custom controls
development.

Regards,
Alessandro Zifiglio
http://www.AsyncUI.net
 
W

Walter Wang [MSFT]

Hi Jerry,

Thank you for your post.

As Alessandro said, the TreeView in ASP.NET 2.0 doesn't have built-in
support for customize node type.

You may try to search for some commercial TreeView controls to see if it
have this feature. Some TreeView controls can let you use HTML source to
add as a TreeView node.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top