Validate.NotExists works differently than expected
Posted: Wed Dec 16, 2009 10:47 am
I have a scenario where I'd like to use Validate.NotExist but it works in a way that I didn't expect. This might of couse be by design but I wanted to ask anyway.
So Validate.Exists returns as soon as the control exists or times out. So I would expect Validate.NotExist to do the exact opposite - e.g. return as soon as the control does not exist (this might be right away) or time out (if the controls exists the entire timespan). But this is not how Validate.NotExist works - if the control/element doesn't exist it will wait the entire duration for the control and then return.
Hope you understand my explanation.
If this is how it's intended to behave then just ignore my post
So Validate.Exists returns as soon as the control exists or times out. So I would expect Validate.NotExist to do the exact opposite - e.g. return as soon as the control does not exist (this might be right away) or time out (if the controls exists the entire timespan). But this is not how Validate.NotExist works - if the control/element doesn't exist it will wait the entire duration for the control and then return.
Hope you understand my explanation.
If this is how it's intended to behave then just ignore my post