Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.Net AjaxToolkit MaskedEditExtender defaults to AM only when system

Status
Not open for further replies.

p91

Programmer
Dec 16, 2010
1
CA
I am using MaskedEditExtender with MaskedEditValidator on TextBox with 12 hour time format...
The expected behavior is... when user enters date only and presses "Tab" key
(leaving time values blank), it should fill-in system time in correct AM/PM format.

It does not work as expected when system time range is 12:01 PM to 1:00 PM...

System date/time: December 16, 2010 9:35 AM
User enters 12/16/2010 __:__ and press tab key --> It defaults to 12/16/2010 09:35 AM...
which is correct.


System date/time: December 16, 2010 12:35 PM
User enters 12/16/2010 __:__ and press tab key --> It defaults to 12/16/2010 12:35 AM...
which is not correct. ---------------------> It should default to 12/16/2010 12:35 PM
-------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top