By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,175 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,175 IT Pros & Developers. It's quick & easy.

Validating - Windows Forms

P: n/a
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

Aug 18 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

--
Sincerely
Yaron Karni
http://dotnetbible.blogspot.com/
"mehdi" wrote:
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

Aug 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.