Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
21
Cancelling validation
posted
I have a form that I'm trying out the Validator component on. This correctly shows the red circles with the crosses in them next to the fields that are invalid when the Save button is pressed. Rather than being a dialogue form, though, the form has different modes so the fields are shown all the time, but disabled when the form is not in an edit mode. How do I remove the error notifications from the fields when the user presses the Cancel button?
  • 69832
    Offline posted

    There is no way to force the error condition away. You would have to change the value of the control to something valid and then call the Validate method.