How do you check if validate has been called.
- From: "tshad" <tscheiderich@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 13:03:38 -0800
I get the following message from one of my buttons where I have
CauseValidation=false.
Page.IsValid cannot be called before validation has taken place
In my routine I need to do:
if Not IsValid then
exit sub
end if
This is because I have a custom validator on some of my fields and I need to
check this as the function will run regardless of the results of the cusom
validators.
The problem is that I may press the button before any validation has taken
place, which is why I get the error.
Is there a way to check if any validation has taken place, such that I might
do something like:
if some validation done then
if Not IsValid then
exit sub
end if
end if
Thanks,
Tom
.
- Follow-Ups:
- Re: How do you check if validate has been called.
- From: Brock Allen
- Re: How do you check if validate has been called.
- Prev by Date: Re: Cookies working on intranet but NOT working on Internet
- Next by Date: Re: Double Click on Listbox
- Previous by thread: Re: Cookies working on intranet but NOT working on Internet
- Next by thread: Re: How do you check if validate has been called.
- Index(es):