MaskedTextBox: Email Address

1 Answer 8 Views
MaskedTextBox
Joel
Top achievements
Rank 3
Bronze
Iron
Iron
Joel asked on 14 Jul 2025, 01:37 AM
How do none of your documentation examples show how to ensure a valid email address is entered?  How do I enforce the a@aaa.aa format?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Jul 2025, 11:57 AM

Hi Joel,

The MaskedTextBox component is designed for string values and masks of a known fixed length. Emails normally vary in length, so the MaskedTextBox is not a suitable component. Instead, you can consider a regular TextBox component with a regex validation rule.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
MaskedTextBox
Asked by
Joel
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or