Re: RequiredFieldValidator control
From: Shiva (shiva_sm_at_online.excite.com)
Date: 10/11/04
- Next message: Janaka: "Viewstate errors"
- Previous message: Ben Chen: "Authorize before download a file in asp.net"
- In reply to: Dave: "RequiredFieldValidator control"
- Next in thread: Dave: "Re: RequiredFieldValidator control"
- Reply: Dave: "Re: RequiredFieldValidator control"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 15:30:17 +0530
See if setting Button.CausesValidation to false helps. Remember this skips
all the validations not just required-field-validations.
HTH
"Dave" <david_dvali@hotmail.com> wrote in message
news:Ok6GTd3rEHA.3988@tk2msftngp13.phx.gbl...
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.
- Next message: Janaka: "Viewstate errors"
- Previous message: Ben Chen: "Authorize before download a file in asp.net"
- In reply to: Dave: "RequiredFieldValidator control"
- Next in thread: Dave: "Re: RequiredFieldValidator control"
- Reply: Dave: "Re: RequiredFieldValidator control"
- Messages sorted by: [ date ] [ thread ]