Validating - Windows Forms

M

mehdi

Hi,
Consider a dialog that contains some control. You know, the form is
validated when every single control in the form is validated
successfully. However, if one control tries to cancel the validation
process, the other controls are still validating! (i.e., the
validating event of other controls are still raised).

Is there anyway to cancel the entire validation process (at once) when
the first control is not validated successfully?

TIA,
Mehdi
 
G

Guest

Hello,

I don't know any internal process do this, but, think on a process (an
object), lets talk on OO, an object which handle control object, handle the
validation process of the controls.
The object externalizes an interface all the control object and inner
(recursively) implement and you have manage validation process, ignore the
..net win forms validation process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top