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,
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.
Please reply, I need it urgent.
Thanks in advance
nk
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.
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.
That is right. But there is no valid string in the documentation that fits the message i would like to change.
When I type a invalid date (00.00.0000) into a xamDateTimeEditor inside a xamDataGrid i get this message:
Value in the editor is not valid.
But in the online documentation for WPF there is no entry that fits to this message. So how can I translate it.
Or is there a bug because the message mustn't appear and I am getting it?