Posted 22 September 2018, 3:54 pm EST
Hi,
How can i change the automatic error message for controls like NumberTextBox bound range error?
Forums Home / ComponentOne / WinForms Edition
Posted by: moridi on 22 September 2018, 3:54 pm EST
Posted 22 September 2018, 3:54 pm EST
Hi,
How can i change the automatic error message for controls like NumberTextBox bound range error?
Posted 24 September 2018, 3:30 am EST
Hello,
To implement custom validation error message, you need to use either ValidateCurrentItem event as shown in following documentation link or use IDataErrorInfo as shown in InputPanelSample product sample (Data->Data.cs) installed at \Documents\ComponentOne Samples\WPF\C1.WPF.InputPanel\CS\InputPanelSample\InputPanelSample location.
Documentation links: * "* “http://help.grapecity.com/componentone/NetHelp/inputpanelwpf/webframe.html#Data-Validation-Event.html”
Thanks,
Ruchir