Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Editors (TextBox, MaskedEdit, SpinEditor, BrowseEditor, ColorBox) > MaskedEditBox: Localize invalid input message

Answered MaskedEditBox: Localize invalid input message

Feed from this thread
  • Francois avatar

    Posted on Sep 14, 2011 (permalink)

    Hi, I would like to change the text displayed in the ErrorProvider when the validation fails; how can I do that?

    Thanks!

    Reply

  • Francois avatar

    Posted on Sep 16, 2011 (permalink)

    Hmm...Cannot be done?

    Reply

  • Answer Peter Peter admin's avatar

    Posted on Sep 19, 2011 (permalink)

    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 >>

    Reply

  • Francois avatar

    Posted on Sep 27, 2011 (permalink)

    Thank you, it works.

    Any plans to make it global using the LocalizationProviders?

    Reply

  • Peter Peter admin's avatar

    Posted on Sep 30, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Editors (TextBox, MaskedEdit, SpinEditor, BrowseEditor, ColorBox) > MaskedEditBox: Localize invalid input message
Related resources for "MaskedEditBox: Localize invalid input message"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]