PC Review


Reply
Thread Tools Rate Thread

Controlling the TreeView

 
 
Tor Inge Rislaa
Guest
Posts: n/a
 
      4th Feb 2007
Controlling the TreeView

I have the sitemap below as source for my TreeView control. When I open my
application I want only the nodes Home, About, Products and Contact to show.
The child nodes of Products (Product1 and Product1) should reveal when the
user click on the title Products.


<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="Home" url="Default.aspx">
<siteMapNode title="About" url="About.aspx" />
<siteMapNode title="Products" url="Products.aspx">
<siteMapNode title="Product1" url="Product1.aspx" />
<siteMapNode title="Product2" url="Product2.aspx" />
</siteMapNode>
<siteMapNode title="Contact" url="Contact.aspx" />
</siteMapNode>
</siteMap>

- The first question is therefore how to control the what is visible at
startup
- Next how to control the reveal of child nodes by clicking on the title (I
don't want to use a expand or collapse icon)
- Is it also possible to automatically collapse the node Products when the
user click on one of the other Parent nodes Home, About, or Contact

(LanguageVB, ASP.NET 2.0)

TIRislaa



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Recreate a >>C# WinForms<< TreeView "state" -after- treeview rebuild ?? Any TreeView GODS out there ?? frostbb Microsoft C# .NET 6 18th Aug 2008 05:08 PM
Controlling the font of a treeview node Tor Inge Rislaa Microsoft ASP .NET 0 9th Apr 2007 06:42 PM
Controlling TreeView Expand/Collapse Tor Inge Rislaa Microsoft ASP .NET 0 21st Feb 2007 07:01 PM
Generate treeview in server manipulate treeview in client side Ravi Microsoft Dot NET 0 2nd Sep 2004 04:00 PM
Re: TreeView, TreeView.HideSelection=false, Window.Minimize NotYetaNurd Microsoft Dot NET Framework Forms 2 30th Jun 2003 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:04 AM.