Click here to Skip to main content
15,888,242 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
XML
<asp:TextBox ID="txt_EntryDate" runat="server" Height="22px" ValidationGroup="c" Width="80px"></asp:TextBox>
<ajaxToolkit:CalendarExtender ID="txt_EntryDate_CalendarExtender" runat="server" BehaviorID="txt_EntryDate_CalendarExtender" Enabled="True" Format="MM-dd-yyyy" PopupButtonID="txt_EntryDate" TargetControlID="txt_EntryDate"></ajaxToolkit:CalendarExtender>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_EntryDate" ErrorMessage="*" ValidationGroup="e"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txt_EntryDate" ErrorMessage="mm-dd-yyyy" ValidationExpression="(0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01])[-](\d{4})" ValidationGroup="e"></asp:RegularExpressionValidator>
Posted
Comments
Sergey Alexandrovich Kryukov 12-Sep-12 15:02pm    
What is "calender"? "CalenderExtender"? Just click at your own link...
--SA

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