Re: How do I prevent the validators firing when a button is clicke

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In ASP.Net 2.0. you have also ValidateGroup property which specifies group of
controls affected by validation.


--
C# Dev


"Alan Silver" wrote:

> <snip>
> >> Trouble is that clicking the Cancel button fires the validators and
> >> stops the page being submitted. How can I get around this?
> >
> >The button has a CausesValidation property that is default "true" ...
>
> Thanks for the fast and accurate response. I'm sure Ill get the hang of
> all this one day ;-)
>
> --
> Alan Silver
> (anything added below this line is nothing to do with me)
>
.


Quantcast