To
better illustrate this, consider the following master page, MasterPage.aspx:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind=
"MasterPage.master.cs" Inherits="MasterPage" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
CHAPTER 5 ?– INTRODUCING SERVER CONTROLS IN ASP.NET AJAX 90
Sample Master PageAnd we also create a new content page based on this master page called
ContentPage.aspx with the following code:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
CodeBehind="ContentPage.aspx.cs" Inherits="ContentPage" Title="Sample Page" %>
"ContentPlaceHolder1" runat="server">
If you run the ContentPage.
Pages:
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164