This is a migrated thread and some comments may be shown as answers.

RadMaskedTextbox for date and allow characters

2 Answers 125 Views
Input
This is a migrated thread and some comments may be shown as answers.
usr9999
Top achievements
Rank 1
usr9999 asked on 23 Jul 2010, 02:41 PM
Hi,

I have a RadMaskedTextbox to enter date in my app.

We have special requirement that user should be able input partial dates. Example if user don’t know the day they should be able to specify a special character like example “?”. 03/?/1998.  Is there any way I can allow RadMaskedText or any other Telerik control to work like this?

Thank you,

2 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 28 Jul 2010, 02:09 PM
Hi,

In order to achieve your goal you can try using EnumerationPart in the RadMaskedTextBox Mask. Please find more information on RadMaskedTextBox mask in this online help article.

Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
usr9999
Top achievements
Rank 1
answered on 13 Aug 2010, 07:31 PM

Thank you for the information. I have used * and also used OnKeyPress with ClientEvents to
restrict the user from entering the invalid characters. It works!

Tags
Input
Asked by
usr9999
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
usr9999
Top achievements
Rank 1
Share this question
or