Backspace not working in Masked Edit Control for date
backspace not working in Masked Edit Control for date in asp.net?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Leon PuthRank #4,152 · 361 reputationPosted May 5, 2014, 10:00 PM EDT
you could use the keypress event on the control or form to intercept the backspace and if the masked edit ctrl has focus, do something to it as a result of the backspace, like setting it to a default date or rolling it back by one month/day/year.