It works fine

Thank you very much.
"Shiva" <> wrote in message
news:%...
> See if setting Button.CausesValidation to false helps. Remember this skips
> all the validations not just required-field-validations.
>
> HTH
>
> "Dave" <> wrote in message
> news:...
> Hello.
>
> I have the web form where user can input some data in textboxes, I'm
> validating user input with RequiredFieldValidator controls, then I have
> two
> buttons "OK" and "Cancel".
> Now when I press "OK" the RequiredFieldValidator works fine, but when I
> press "Cancel" I don't want to validate inputs.
> So how can I temporarily disable RequiredFieldValidator, because I want
> press "Cancel" and handle some actions at server side?
>
> Thank You.
>
>
>