Hi,
I am facing problem in ajax toolkit 4.5:
In Maskeditextendar I set ClearMaskOnLostFocus=true but on click once on the text box and lost folcus the mask not get disappear.
I have following code:
<asp:TextBox ID="txtDOB" runat="server"></asp:TextBox>
<asp:ImageButton ID="ImgBntCalc" ImageAlign="Middle" runat="server" CausesValidation="False"
ImageUrl="~/Images/Calendar_scheduleHS.png" />
<span style="color: #999999">(DD/MM/YYYY)</span>
<cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" CultureAMPMPlaceholder="AM;PM"
CultureCurrencySymbolPlaceholder="£" CultureDateFormat="DMY" CultureDatePlaceholder="/"
CultureDecimalPlaceholder="." ClearMaskOnLostFocus="true" UserDateFormat="DayMonthYear"
CultureName="en-GB" CultureThousandsPlaceholder=","
CultureTimePlaceholder=":" Enabled="True" ErrorTooltipEnabled="True" Mask="99/99/9999"
MaskType="Date" TargetControlID="txtDOB">
</cc1:MaskedEditExtender>
<cc1:MaskedEditValidator ID="MaskedEditValidator1" runat="server" ControlExtender="MaskedEditExtender1"
ControlToValidate="txtDOB" Display="Static" EmptyValueBlurredText="*" EmptyValueMessage="Date is required"
ErrorMessage="MaskedEditValidator1" InvalidValueBlurredMessage="*" InvalidValueMessage="Date is invalid"
TooltipMessage="Input a date" ValidationGroup="DtVal"></cc1:MaskedEditValidator>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" Format="dd/MM/yyyy"
PopupButtonID="ImgBntCalc" TargetControlID="txtDOB">
</cc1:CalendarExtender>
Views:
9687
Total Answered:
0
Total Marked As Answer:
0
Posted On:
07-Sep-2014 02:13