<%@ Control Language="C#" EnableTheming="false"  AutoEventWireup="false" Inherits="Subtext.Web.UI.Controls.Contact" %>
<h2>联系</h2>
	
<div class="info">
	<asp:label id="lblMessage" runat="server" />
</div>

<asp:ValidationSummary ID="vldSummary" runat="server" CssClass="error" />
		
<p>
	如果您有任何建议、意见、问题，欢迎与我联系。
</p>
<dl class="form">
	<dt>
		<label for="Contact_ascx_tbName" accesskey="N" class="required">姓名</label> <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="请输入姓名."
				ControlToValidate="tbName" Display="Static">*</asp:RequiredFieldValidator>
	</dt>
	<dd>
		<asp:textbox id="tbName" cssclass="Text" runat="server" />
	</dd>
	<dt>
		<label for="Contact_ascx_tbEmail" accesskey="E" class="required">邮件</label> 
			<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ErrorMessage="请输入邮件地址."
					ControlToValidate="tbEmail" Display="Static">*</asp:RequiredFieldValidator>
			<asp:RegularExpressionValidator id="vldEmailRegex" runat="server" ErrorMessage="非法邮件格式." ControlToValidate="tbEmail" Display="Dynamic" ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$">*</asp:RegularExpressionValidator>
	</dt>
	<dd>
		<asp:textbox id="tbEmail" cssclass="Text" runat="server" />
	</dd>
	<dt>
		<label for="Contact_ascx_tbSubject" accesskey="S" class="required">主题</label> <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入主题."
				ControlToValidate="tbName" Display="Static">*</asp:RequiredFieldValidator>
	</dt>
	<dd>
		<asp:textbox id="tbSubject" cssclass="Text" runat="server" />
	</dd>
	<dt>
		<label for="Contact_ascx_tbMessage" accesskey="M" class="required">内容</label> <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="请输入内容."
				ControlToValidate="tbName" Display="Static">*</asp:RequiredFieldValidator>
	</dt>
	<dd>
		<asp:textbox id="tbMessage" runat="server" textmode="MultiLine" />
	</dd>
</dl>
<div class="action">
	<asp:button id="btnSend" cssclass="button" runat="server" text="发送" />
</div>


