<%@ Page Language="C#" %>

<%@ Register Assembly="AjaxControlToolkit, Version=3.5.11119.20050, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>MaskedEditExtender Control</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" 
         TargetControlID="TextBox1" MaskType="Number" Mask="999">
        </cc1:MaskedEditExtender>        
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <cc1:MaskedEditValidator ID="MaskedEditValidator1" runat="server" 
         ControlExtender="MaskedEditExtender1" ControlToValidate="TextBox1" 
         IsValidEmpty="False" EmptyValueMessage="A three digit number is required!" 
         Display="Dynamic"></cc1:MaskedEditValidator>
    </div>
    </form>
</body>
</html>
