<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:MaskedEditValidator
ID="MaskedEditValidator1"
runat="server"
ControlToValidate="TextBox1"
EmptyValueMessage="Please enter Date of Birth"
InvalidValueMessage="Date is Invalid"
ControlExtender="MaskedEditExtender1"
IsValidEmpty="False"
TooltipMessage="Date is invalid"
Display="Dynamic"/>
<cc1:MaskedEditExtender
ID="MaskedEditExtender1"
runat="server"
Mask='99/99/9999'
MaskType="Date"
TargetControlID="TextBox1"
PromptCharacter="_" />
No comments:
Post a Comment