<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestMenuDataBinding.aspx.cs" Inherits="TestMenuDataBinding" %>

<!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>Data Binding with Menu control</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet"/>
</head>
<body>
   <form id="form1" runat="server">
   <div id="container">
      <h1>Test Data Binding with Menu Control</h1>
      <p>This example illustrates how to data bind with the <code>Menu</code> control.</p>
      
      <asp:Menu id="menuMain" runat="server" DataSourceID="siteSource" />

      <asp:SiteMapDataSource ID="siteSource" runat="server" 
         ShowStartingNode="false"  />
   </div>
   </form>
</body>
</html>
