By: John Kilgo Date: February 23, 2003 Download The Code.
Printer Friendly Version
. You may not be familiar with the IE WebControls That is because they are not part of the installation of the .Net framework or Visual Studio.Net You must download them from Microsoft They are available for download at http:.. // msdn. microsoft.com/downloads/samples/internet/asp_dot_net_servercontrols/webcontrols/. Documentation for the controls is available at http://msdn.microsoft.com/workshop/webcontrols/webcontrols_entry.asp.
Treeview, Toolbar, and TabStrip controls have been a part of client-server applications for years. They are not as common on the web due to the dhtml involved. Actually, for the most part, Microsoft has implemented dhtml for these controls only if you are running IE 5.5 and above Downlevel browsers such as Netscape, and earlier IE implementations make multiple trips to the server rather than serving dhtml for these controls We will explore the controls and ask the question:.. are they ready for prime time?
First we will examine the TreeView control. The example program presented below contains three TreeView controls. The first is just a simple implementation that does not do anything other than display some data. The second example utilizes the NavigateUrl property to form a vertical navigation menu . It also includes the DefaultStyle property to control display coloring and border when first expanded. When you hover over the expanded nodes, it reverts to the default coloring and lack of a border. I never could figure out how to control the coloring of the top Node. I Guess Microsoft Allows It to be any color you want. The think of an xml file. While this may be neat, i'm not sure what it buy you . I shop...................
<% @ Page language = "VB"%> <% @ register tagprefix = "IEWC" namespace = "assembly =" microsoft.web.ui.WebControls, version = 1.0.2.226, culture = NEUTRAL, PUBLICKEYTOKEN = 31BF3856AD364E35 "%>