ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

Step 2: Set up the Second Group of Tree Items

To configure the second group of items for C1WebTreeView at design time, complete the following steps:

1.   Right-click on the first C1WebTreeViewGroup and select Add Child from its context menu, and then set the new tree item's properties to the following:

Text = Americas

NavigateUrl = http://news.bbc.co.uk/2/hi/americas/default.stm

PopulateOnDemand = True

2.   Set the second C1WebTreeViewGroup's Collapsed property to True, then add four child items to Americas. For more information on adding child items see Adding C1WebTreeView Groups.

3.   Set the first, second, third, and fourth item's properties in the third C1WebTreeViewGroup to the following:

 

Tree Items

Property Settings

First Item

Text = Mexico welcomes Zapatista tour

NavigateUrl = http://news.bbc.co.uk/2/hi/americas/4576438.stm

Tooltip = Mexico's government has welcomed a nationwide political tour by the Zapatista rebel movement, saying it will boost the county's democracy.

WrapText = False

Second Item

Text = Bush defends spying programmer

NavigateUrl = http://news.bbc.co.uk/2/hi/americas/4574188.stm

Tooltip = US President George W Bush has strongly defended his domestic spying program, which involves eaves dropping on people with suspected ties to terror groups.

WrapText = False

Third Item

Text = US budget airline to close down

NavigateUrl = http://news.bbc.co.uk/2/hi/business/4576476.stm

Tooltip = The budget US airline Independence Air has announced that it is shutting down this Thursday, just 19 months after it was launched.

WrapText = False

Fourth Item

Text = Seized officials freed in Haiti

NavigateUrl = http://news.bbc.co.uk/2/hi/americas/4572758.stm

Tooltip = Two members of the Organization of American States (OAS) and one of their spouses kidnapped in Haiti have been freed, the group has said.

WrapText = False

The second C1WebTreeViewGroup appears like the following:


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.