1
Answer

MaskedTextbox time display query

NeCroFire

NeCroFire

15y
7.2k
1
Hi

I am trying to use he maskedtextbox to allow the user to input a time. I have it displaying what I want (hh:mm AM/PM). The mask looks like this: 00:00 >?M

But now this is a custom mask and now there is no validating type. How can I add DateTime as a validating type? I'm guessing I'll to make a custom control inheriting MaskedTextBox??

Thanks in advanced :)
Answers (1)