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
296
OnValidating Question
posted

Greetings,

 I'm using Infragistics Controls: NetVantage for .Net (Windows Forms).  Version = 8.3.20083.1009 and Runtime = v2.0.50727

 Here's my question.

 I've subclassed the UltraMaskedEdit control into my own custom control.  I've overriden the OnValidating protected method.  However, inside my overriden method, I'm calling base.OnValidating.  From time to time, the base.Validating fails. 

How do dermine what caused the base.OnValidating to fail?  (i.e. which method can I call, property can I access, etc.?)

Any help that could be provided would be appreciated.

  • 69832
    Offline posted

    UltraMaskedEditor exposes an IsFullyInput property, which returns whether the current value satifies the mask requirements.

  • 469350
    Offline posted

    Well, this is just a guess, but the OnValidating probably fails when the control fails to validated the text the user entered against the mask.Doesn't the MaskEdit contorl have an Error or MaskError event?