ASP.NET
ASP.NET Master Pages

ASP.NET master pages enable you to create a page layout (a master page) that you can use with selected or all pages (content pages) in your Web site. Master pages can greatly simplify the task of creating a consistent look for your site. The topics in this section introduce master pages and describe how to create and manage them.

In This Section

ASP.NET Master Pages Overview
Nested ASP.NET Master Pages
Working with ASP.NET Master Pages Programmatically
Reference

MasterPage

Related Sections

Creating ASP.NET Web Pages

Provides links to topics on creating ASP.NET Web pages.

Tags :


Community Content

Sean Broyles
Master

<%@ Master Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>

Tags :

Page view tracker