Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Set Customized String "ErrMSgEditorValNotValid"
posted

Hi,

I would like to change the Customized String that appears when I enter an invalid Date to the XamDateTimeEditor inside a XamDataGrid.

In the Online-Documentation the String "ErrMSgEditorValNotValid" isn't available for WPF, only for WinForms. But this is exactly the Message I get in my WPF App.

How can I change this String?

I tried:

Infragistics.Windows.DataPresenter.Resources.Customizer.SetCustomizedString("ErrMSgEditorValNotValid", "Dieses Datum ist nicht gültig!");

Infragistics.Windows.Editors.Resources.Customizer.SetCustomizedString("ErrMSgEditorValNotValid", "Dieses Datum ist nicht gültig!");

Infragistics.Windows.Resources.Customizer.SetCustomizedString("ErrMSgEditorValNotValid", "Dieses Datum ist nicht gültig!");

Do you have any idea how to fix this problem?

Parents
  • 12773
    Verified Answer
    posted

    Hello,

    You can use “LE_ArgumentException_5” in order to customize this error in your application.

    Infragistics.Windows.Editors.Resources.Customizer.SetCustomizedString("LE_ArgumentException_5", "Translated error message");

    Also  I will forward this to our developer department to check if this is a issue and what we can do about it.

    I hope this solve your issue.

    Sincerely,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.

Reply Children