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?
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,DimiDeveloper Support EngineerInfragistics, Inc.
Hi ,
I am getting similar error in XamDateTimeEditor, I want to customise the error message. This change worked for me.
Infragistics.Windows.Editors.Resources.Customizer.SetCustomizedString("LE_ArgumentException_5", "wrong input");
But I also need to change the error popup caption that reads "Invalid value".
Please provide the correct string that needs to be changed.
Thanks in advance
nk
Hello,
The key for the string that you want to customize is "LMSG_ValueConstraint_InvalidValue", For example:
Infragistics.Windows.Editors.Resources.Customizer.SetCustomizedString("LMSG_ValueConstraint_InvalidValue", "wrong input");
Let me know if you have any questions.