Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   |   Class Browser   
  |   Font Size...      

SiteMapPathBehaviors_vb\SiteMap.master

<%@ Master %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>SiteMapPath Behaviors Sample</title>
</head>
<body>
  <form id="form1" runat="server">
    <div>
      <h2>
        SiteMapPath Behaviors Sample</h2>
      Use the Menu control on the left to navigate to different pages in the website.
      Notice that in this sample the CurrentNode is first in the list and a link. The
      greatest number of parents displayed is also limited to three. Click on links on
      the SiteMapPath control to navigate up the hierarchy.
      <br />
      <br />
      <table cellpadding="8">
        <tr>
          <td bgcolor="#ccffcc" valign="top" rowspan="2">
            <b><i>Menu Control</i></b>
            <br />
            <br />
            <asp:Menu DataSourceID="SiteMapDataSource1" ID="Menu1" runat="server" 
              StaticDisplayLevels="2" BackColor="#FFFBD6" DynamicHorizontalOffset="2" 
              Font-Names="Verdana" ForeColor="#990000" StaticSubMenuIndent="10px">
              <StaticSelectedStyle BackColor="#FFCC66" />
              <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
              <DynamicMenuStyle BackColor="#FFFBD6" />
              <DynamicSelectedStyle BackColor="#FFCC66" />
              <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
              <DynamicHoverStyle BackColor="#990000" Font-Bold="False" ForeColor="White" />
              <StaticHoverStyle BackColor="#990000" Font-Bold="False" ForeColor="White" />
            </asp:Menu>
            <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
          </td>
          <td style="width: 10px">
          </td>
          <td bgcolor="#ffffcc" nowrap="noWrap" valign="top">
            <b><i>SiteMapPath Control</i></b>
            <br />
            <br />
            <asp:SiteMapPath ID="SiteMapPath1" runat="server" ParentLevelsDisplayed="3" 
              PathDirection="CurrentToRoot" PathSeparator=" : " 
              RenderCurrentNodeAsLink="True" ShowToolTips="False">
            </asp:SiteMapPath>
          </td>
        </tr>
        <tr>
          <td style="width: 10px; height: 255px;">
          </td>
          <td style="border-left-color: black; border-bottom-color: black; 
           width : 392px; border-top-style: solid; border-top-color: black; 
           border-right-style: solid; border-left-style: solid; border-right-color: black;
           border-bottom-style: solid; height: 255px;" bgcolor="#ffcc00" valign="top">
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
              &nbsp;
            </asp:ContentPlaceHolder>
          </td>
        </tr>
      </table>
      <br />
      <br />
    </div>
  </form>
</body>
</html>