I am using RadMaskedEditBox with EMail MaskType on my project. I want to know if its text is a valid email or not on the code side but i couldn't find a way to do it. How can i get the bool value of valid email address of RadMaskedEditBox?
2 Answers, 1 is accepted
0
Hristo
Telerik team
answered on 16 Jun 2015, 10:44 AM
Hi Mustafa,
Thank you for writing.
You could subscribe your RadMaskedEditBox to the Validating event and in the handler perform a check if the text in the input is valid. Based on the result you can cancel the event and continue with your logic. Please see my code snippet below:
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo Merdjanov
Telerik
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 Feedback Portal
and vote to affect the priority of the items