用了母版页之后找不到内容页的控件咋办
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="contact.aspx.cs" Inherits="contact" %><asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<form id="form1" runat="server">
<div style=" height:40px;">
<div style=" height:40px; width: 91px; background-image: url('img/p_c.jpg');">
<input id="Text1" align="middle"
style="background-color: transparent; width: 87px; height: 35px;" type="text"
value="联系我们" />
</div>
<div style=" height:410px; width: 720px;">
<textarea id="TextArea1" runat="server" name="TextArea1" style="height: 394px; width: 720px"></textarea></div>
</div>
</form>
</asp:Content>
怎样找到textarea 控件
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="contact.aspx.cs" Inherits="contact" %><asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<form id="form1" runat="server">
<div style=" height:40px;">
<div style=" height:40px; width: 91px; background-image: url('img/p_c.jpg');">
<input id="Text1" align="middle"
style="background-color: transparent; width: 87px; height: 35px;" type="text"
value="联系我们" />
</div>
<div style=" height:410px; width: 720px;">
<textarea id="TextArea1" runat="server" name="TextArea1" style="height: 394px; width: 720px"></textarea></div>
</div>
</form>
</asp:Content>
怎样找到textarea 控件
楼上对的