hi,
When I validate my UltraValidator I get and summary message box that i do not want only the images but I do not seem to get that disabled?Also there is and text "Validation failed with the following error(s):" how can i manipulate that text?
thanks
Assuming you are triggering validation by calling the 'Validate' method programmatically, that method is overloaded so as to allow you to supress the MessageBox. The name of the parameter is 'showMessageBox'.
You can control the text that gets displayed for a programmatic validation by handling the ValidationError event and setting the ValidationErrorEventArgs.NotificationSettings.Text property.
Brian Fallon"]You can control the text that gets displayed for a programmatic validation by handling the ValidationError event and setting the ValidationErrorEventArgs.NotificationSettings.Text property.
Hi, i did it:
private void uvalCustomer_ValidationError(object sender, Infragistics.Win.Misc.ValidationErrorEventArgs e) { e.NotificationSettings.Text = "Custom Text"; }
But it raise an exception :
This NotificationSettings instance is read-only; property values cannot be modified.
I want to change the default message: "The following error(s) ...."
Lois.
Hello, i´m testing this controls and where i find this parameter 'showMessageBox', please do you have a example.
I want do disable this message or replace this message "Validation failed with the following error(s):"
Thanks