When validating, 01/05/2013 is a valid date where 01/13/2013 is not a valid date.
Code:
<asp:Label runat="server" AssociatedControlID="ShowEndDate" CssClass="col-md-6 control-label">Show end date</asp:Label>
<div class="col-md-6">
<asp:TextBox runat="server" ID="ShowEndDate" CssClass="form-control"/><ajaxtoolkit:calendarextender
TargetControlID="ShowEndDate"
runat="server" />
<ajaxtoolkit:maskededitextender ID="MaskedEditExtender3" runat="server"
TargetControlID="ShowEndDate"
Mask="99/99/9999"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"
PromptCharacter="_"
CultureName = "en-GB"
ErrorTooltipEnabled="True" UserDateFormat="DayMonthYear" />
Comments: We do not see any problems with the described behavior so far. When you specify the "en-GB" culture for MaskedEditExtender, it assumes that a date will be entered in the dd/MM/yyyy format. Hence, 01/13/2013 is not a valid date, because it means you try to enter the 13th month, so MaskedEditValidator will not validate it. Would you please share more details about the problem you faced?
Code:
<asp:Label runat="server" AssociatedControlID="ShowEndDate" CssClass="col-md-6 control-label">Show end date</asp:Label>
<div class="col-md-6">
<asp:TextBox runat="server" ID="ShowEndDate" CssClass="form-control"/><ajaxtoolkit:calendarextender
TargetControlID="ShowEndDate"
runat="server" />
<ajaxtoolkit:maskededitextender ID="MaskedEditExtender3" runat="server"
TargetControlID="ShowEndDate"
Mask="99/99/9999"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"
PromptCharacter="_"
CultureName = "en-GB"
ErrorTooltipEnabled="True" UserDateFormat="DayMonthYear" />
Comments: We do not see any problems with the described behavior so far. When you specify the "en-GB" culture for MaskedEditExtender, it assumes that a date will be entered in the dd/MM/yyyy format. Hence, 01/13/2013 is not a valid date, because it means you try to enter the 13th month, so MaskedEditValidator will not validate it. Would you please share more details about the problem you faced?