Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Can I add text after the node link in a treeview/sitemap?

Reply
Thread Tools

Can I add text after the node link in a treeview/sitemap?

 
 
Alan Silver
Guest
Posts: n/a
 
      12-21-2005
Hello,

I have a web.sitemap file that is used as the data for a treeview
control. This shows the site structure very well, but I would like to
add the description (in the siteMapNode element in the web.sitemap file)
as plain text after the normal node text.

Can I do this? I know I can catch the OnTreeNodeDataBound event and add
to the node's Text property, but that adds to the link, whereas I want
the description to be plain text. Also, I can't see how to get at the
description for the node.

TIA for any help.

--
Alan Silver
(anything added below this line is nothing to do with me)
 
Reply With Quote
 
 
 
 
Alan Silver
Guest
Posts: n/a
 
      01-02-2006
Anyone any ideas?

>I have a web.sitemap file that is used as the data for a treeview
>control. This shows the site structure very well, but I would like to
>add the description (in the siteMapNode element in the web.sitemap
>file) as plain text after the normal node text.
>
>Can I do this? I know I can catch the OnTreeNodeDataBound event and add
>to the node's Text property, but that adds to the link, whereas I want
>the description to be plain text. Also, I can't see how to get at the
>description for the node.
>
>TIA for any help.
>


--
Alan Silver
(anything added below this line is nothing to do with me)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find node in TreeView by using string(the same as Node.Text) ? jiing ASP .Net 0 04-27-2007 02:34 AM
Null parent node on custom tree node after populate on demand John Bankhead ASP .Net Web Controls 0 12-04-2006 06:29 PM
xsl variable $node/text() but $node can non-node-set help! Tjerk Wolterink XML 2 08-24-2006 03:28 AM
problem with child text node when constraining other child node types Bryan Ax XML 6 05-17-2006 09:08 PM
How to set the node indent property between the parent node and the leaf node viveknatani@gmail.com ASP .Net 0 02-13-2006 07:11 PM



Advertisments