Manikandan R

Manikandan R

  • 2.1k
  • 136
  • 1.8k

Date Format Validate MM/dd/yyyy

Mar 15 2023 6:26 AM

How to validate date format of MM/dd/yyyy, am using ajax toolkit  CalendarExtender for date picking, if able to validate the format of date in case not match want to show error msg Invalid date

<asp:TextBox ID="txtDate" CssClass="form-control" runat="server" /> 

<cc1:CalendarExtender ID="CalendarExtender1" PopupButtonID="txtDate" runat="server" TargetControlID="txtDate" Format="MM/dd/yyyy"></cc1:CalendarExtender>


Answers (6)