Chapter 9: Creating Web Applications with ASP.NET MVC

259

<title>

<asp:ContentPlaceHolder ID="TitleContent" runat="server" />

</title>

<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div class="page">

<div id="header"> <div id="title">

<h1>My MVC Application</h1> </div>

<div id="logindisplay">

<% Html.RenderPartial("LogOnUserControl"); %> </div>

<div id="menucontainer">

<ul id="menu"> <li>

<%= Html.ActionLink("Home", "Index", "Home")%>

</li>

<li>

<%= Html.ActionLink("About", "About", "Home")%> </li>

</ul>

</div>

</div>

<div id="main">

<asp:ContentPlaceHolder ID="MainContent" runat="server" />

<div id="footer"> </div>

</div>

</div>

</body>

</html>

Page 282
Image 282
Microsoft 9GD00001 manual 259