468,741 Members | 1,602 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,741 developers. It's quick & easy.

Treeview - single click expand/collapse with XMLDatasource

jim
Hi,

I have a TreeView control that sits on the MasterPage. All of my other
webpages inherit from that Master Page. The Treeview receives it's data
using an XMLDataSource that has it's DataFile property set to the
Web.sitemap file.

I have turned off the Expand/Collapse icons on the Treeview.

I want to be able to single click a node in the tree view to
expand/collapse that node if it has children, as well as take me to the
hyperlinked page (which is retrieved from the XMLDatasource mapped to
the Web.sitemap file).

So a single click with expand it, and go to the page, another single
click will collapse it, and also hyperlink to the page.

Can someone please help me with this? Any suggestions? From what I
understand the Treeview can only be in either selection mode, or
navigation mode, not both.

Is this possible if my TreeView is mapped to my sitemap?
Oct 31 '06 #1
0 2104

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike Preston | last post: by
4 posts views Thread by Gönen EREN | last post: by
2 posts views Thread by Stephen | last post: by
3 posts views Thread by Shawn | last post: by
9 posts views Thread by Martin Randall | last post: by
reply views Thread by Tor Inge Rislaa | last post: by
reply views Thread by Tor Inge Rislaa | last post: by
reply views Thread by Tor Inge Rislaa | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.