1
Reply

MaskedTextbox time display query

NeCroFire

NeCroFire

Jan 30 2009 4:24 AM
7.2k
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)