We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Masked Edit Box Error Validation

Thread ID:

Created:

Updated:

Platform:

Replies:

21406 Nov 9,2004 12:43 PM Nov 9,2004 01:29 PM Windows Forms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On November 9, 2004 12:43 PM

I have been trying to look for a specific answer in the documentation, but just can''t seem to find it. Here is my question: I can use the ValidationError event for the Masked Edit Box to raise an error if the data input does not conform to the formatting restrictions set for the control. That works just fine. The problem is how to detect when the user has entered something that conforms and then clear the error. How do I do that? In other words, is there some property that will let me check to see if the data is formatted correctly? Thanks! JB

Administrator [Syncfusion]
Replied On November 9, 2004 01:29 PM

Just solved it with the combination of the ValidationError and the MaskSatisfied events. One would set the error, the second would clear it. :-) >I have been trying to look for a specific answer in the documentation, but just can''t seem to find it. > >Here is my question: > >I can use the ValidationError event for the Masked Edit Box to raise an error if the data input does not conform to the formatting restrictions set for the control. That works just fine. > >The problem is how to detect when the user has entered something that conforms and then clear the error. How do I do that? In other words, is there some property that will let me check to see if the data is formatted correctly? > >Thanks! > >JB

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;