<%@ Register TagPrefix="cc1" Namespace="Example.第4章._40.如何创建自定义验证控件" Assembly="Example" %>
<%@ Page language="c#" Codebehind="ApplyValidatorCustom.aspx.cs" AutoEventWireup="false" Inherits="UseControl.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体"></FONT>
			<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 320px; POSITION: absolute; TOP: 264px" runat="server"
				Text="验证"></asp:Button>
			<asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 248px; POSITION: absolute; TOP: 184px"
				runat="server"></asp:TextBox>
			<cc1:WebCustomControl1 id="WebCustomControl11" style="Z-INDEX: 103; LEFT: 416px; POSITION: absolute; TOP: 184px"
				runat="server" len="6" ControlToValidate="TextBox1">请输入6位字符</cc1:WebCustomControl1>
		</form>
	</body>
</HTML>
