I have a custom validator on my webform and the validator is in a gridview for the edit command.
Currently, it's calling a server-side validation function and correctly validating the row before edit.
I would like to change the error message at runtime but cannot seem to figure out how within the validation logic. Basically, I want to determine the error message at the time the validation is run.
Any suggestions are greatly appreciaed.
Thanks in advance.
Currently, it's calling a server-side validation function and correctly validating the row before edit.
I would like to change the error message at runtime but cannot seem to figure out how within the validation logic. Basically, I want to determine the error message at the time the validation is run.
Any suggestions are greatly appreciaed.
Thanks in advance.