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
655
Prevent validation on Masked Editor / Calender
posted

We use the WPF 4 Infragistics v11.1 Masked Editors and Calendar date selectors throughout our app and at times we dont want to enforce validation. For example if a person selects a bad/incomplete date or a bad value for a mask and tries to shift focus off the control we dont want the red border or pop-up to happen warning the user. We will handle that later in our code.

What is the correct approach to disable validation on your controls?

 

  • 54937
    Offline posted

    Unfortunately this is not possible currently. If the value is invalid then the control will either want to restore the valid value or retain focus.