Click here to Skip to main content
15,849,197 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello to all i use this code to date ajax
C#
 <asp:TextBox ID="TextBox1" runat="server">00/00/0000</asp:TextBox>

<cc1:MaskedEditExtender ID="MaskedEditExtender1"  runat="server" Mask="99/99/9999" MaskType="Date" TargetControlID="TextBox1" PromptCharacter="_" UserDateFormat="DayMonthYear"> </cc1:MaskedEditExtender>

<cc1:MaskedEditValidator ID="MaskedEditValidator1"  runat="server" ControlExtender="MaskedEditExtender1" ControlToValidate="TextBox1" EmptyValueMessage="Date is required" InvalidValueMessage="Date is invalid" IsValidEmpty="False" TooltipMessage="Input a Date"></cc1:MaskedEditValidator>

i need allow 00/00/0000
and allow empty
and allow __/__/____
Posted
Comments
ahmed hussein khazal 27-May-13 4:17am    
any help
Mustafa Salman 4-Sep-13 7:52am    
No, no help you find.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900