<%@ Control Language="c#" Inherits="Microsoft.Samples.SqlServer.MenuControl" CodeFile="_Menu.ascx.cs" %> <%@ OutputCache Duration="3600" VaryByParam="selection;expansion"%> <script runat="server" language="c#"> </script> <!-- ===================================================================== File: _Menu.ascx for Adventure Works Cycles Storefront Sample Summary: Master page user control which displays a tree of product categories and subcategories. Provides the the ability to quickly navigate the product catalog. Date: June 16, 2003 ===================================================================== This file is part of the Microsoft SQL Server Code Samples. Copyright (C) Microsoft Corporation. All rights reserved. This source code is intended only as a supplement to Microsoft Development Tools and/or on-line documentation. See these other materials for detailed information regarding Microsoft code samples. THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. ======================================================= --> <!-- This user control creates a menu of all product categories in the database. This forms the left-hand navigation of the product catalog pages. --> <table cellspacing="0" cellpadding="0" width="200" border="0" height="375"> <tr valign="top"> <td colspan="2" width="200"> <a href="default.aspx"><img src="images/logo.jpg" border="0" height="46" width="144"></a> </td> </tr> <tr valign="top"> <td colspan="2" width="200"> <asp:treeview id="TreeView1" runat="server" font-underline="False" width="200" ExpandDepth="0"> <parentnodestyle font-underline="False"></parentnodestyle> <rootnodestyle font-underline="False"></rootnodestyle> <nodestyle font-underline="False" font-names="Verdana" font-size="12px" forecolor="Goldenrod" backcolor="Black" height="16px"></nodestyle> <leafnodestyle font-underline="False"></leafnodestyle> </asp:treeview> </td> </tr> <tr> <td width="10"> </td> <td> <br> <br> <br> <br> <br> <br> <a href="docs/docs.htm" target="_blank" class="SiteLink">Adventure Works<br /> Cycles Store<br /> Documentation</a> </td> </tr> </table>