|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Add a control to a treenode. TreeViewI need to add controls to the nodes of a asp.net 2.0 treeview.
I have found this article in c# I am using VB. http://www.codeproject.com/cs/miscctrl/DropDownTreeView.asp pointing me to other articles and information would be a great help. Thank you -- Jerry 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 Show quoteHide quote "Jerry C" <jerryed@nospam.nospam> ha scritto nel messaggio news:2E611438-0FF3-4790-AD8C-84BE9C86378F@microsoft.com... >I need to add controls to the nodes of a asp.net 2.0 treeview. > I have found this article in c# I am using VB. > > http://www.codeproject.com/cs/miscctrl/DropDownTreeView.asp > > pointing me to other articles and information would be a great help. > > Thank you > -- > Jerry 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 (waw***@online.microsoft.com, 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.
Hyperlink control - embedded spaces converted
Auto Postback Handling in controls How to have either/or steps in a wizard WebPartManager1.CloseWebPart Error Programmatically listening for an event? Newbie: Calendar question? UserControl loaded dynamically multiple times on same page....client js problem @ Parameter Question Register clientscript resource mouse events in asp controls |
|||||||||||||||||||||||