" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
I was using MaskedEditExtender from AjaxToolKit in My application .It takes Mask=”99/99/9999″ as default one which display 4 digit year.
But i want 2-digit year in my application i.e 08 and not 2008.
So To fix this issue, open up MaskedEditBehavior.js in the AjaxControlToolkit and replace the following line
Ycur = Ycur.substring(2);
Ycur = CurDate.getUTCFullYear().toString().substring(2);
Mail (will not be published) (required)
Enter Captcha Code *
seven × = 63
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...