This project is read-only.


Ajax Toolkit Masked Edit Extender DateTime AM/PM bug


I use an Ajax Toolkit Masked Edit Extender on a text field that is used to auto-complete a date/time field using a 12-hour clock format. Between the hours of 12.01 PM and 01.00 PM, the AJAX Masked Edit Extender incorrectly marks the time as AM instead of PM. At present this needs to remain in a 12 hour format for my client.

This is a known bug and I have seen threads but with no resolution:

I have attempted to use the latest Ajax release but it had no effect. Also, I cannot do a manual workaround due to the nature of the system's operation.

I have tried to raise a support call with Microsoft Support directly but they say they cannot do this since the Ajax Control Toolkit only has community-based support.

Any help would be much appreciated.

Code Extract

<asp:TextBox ID="txtRequestDate" runat="server" CssClass="textBoxLarge" ></asp:TextBox>

<ajaxToolkit:MaskedEditExtender ID="meeRequestDate" runat="server" TargetControlID="txtRequestDate" Mask="99/99/9999 99:99" MaskType="DateTime" AcceptAMPM="true" MessageValidatorTip="false" AutoComplete="true" CultureName="en-US"/>
Closed May 14, 2015 at 1:39 PM by fadilmamedov
This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.