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

MaskedEditBox: Localize invalid input message

4 Answers 89 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Francois
Top achievements
Rank 1
Francois asked on 14 Sep 2011, 09:07 PM
Hi, I would like to change the text displayed in the ErrorProvider when the validation fails; how can I do that?

Thanks!

4 Answers, 1 is accepted

Sort by
0
Francois
Top achievements
Rank 1
answered on 16 Sep 2011, 05:14 PM
Hmm...Cannot be done?
0
Accepted
Peter
Telerik team
answered on 19 Sep 2011, 07:37 AM
Hello Francois,

Thank you for writing.

Please consider the code below:

((RegexMaskTextBoxProvider)radMaskedEditBox1.MaskedEditBoxElement.Provider).ErrorMessage = "Il ya une erreur!";

I hope this helps. If you need further assistance, I will be glad to help.

Regards,
Peter
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Francois
Top achievements
Rank 1
answered on 27 Sep 2011, 06:18 PM
Thank you, it works.

Any plans to make it global using the LocalizationProviders?
0
Peter
Telerik team
answered on 30 Sep 2011, 02:52 PM
Hello Francois,

We will introduce this as a property in RadMaskedEditBox control instead of using a localization provider, because there is only one string to be localized.

If you have any other questions or comments, please let me know.

Best wishes,
Peter
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
MaskedEditBox
Asked by
Francois
Top achievements
Rank 1
Answers by
Francois
Top achievements
Rank 1
Peter
Telerik team
Share this question
or