<body>
タグの後にマスターページの先頭に<form runat="server">
を追加して、その中に<asp:content></asp:content>
と入力します。
Ex。 MyMasterPage.masterページ
<% master ... %>
<html>
<head> .... </head>
<body>
<form runat="server">
.
.
.
<div>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
</div>
.
.
.
</form>
</body>
</html>
ネストページ: MyPage.csこのように
<% page ... %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:Button ID="testButton" runat="server" Text="Sample Button" Width="135px" />
</asp:Content>
あなたはすでにマスターページに形成されているとして、あなたはされませんあなたの問題