| Re: [aus-dotnet] ASP.NET Server Side Validation |
- From: Greg
- Subject: Re: [aus-dotnet] ASP.NET Server Side Validation
- Date: Thu, 02 Dec 2004 10:07:09 +1100
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Do you have to chek if (Page.IsValid) in the postback handler? or does it through an exception if one fails----- Original Message ----- From: "Glavich, Paul C" <paul.glavich@xxxxxxx>
To: <dotnet@xxxxxxxxxxx> Sent: Thursday, December 02, 2004 8:57 AM Subject: RE: [aus-dotnet] ASP.NET Server Side Validation
Late reply here.... Sorry bout that.... In the middle of getting my laptop rebuilt.The client side validators generally must give their ok first, otherwise thepage is not allowed to postback. Unless the control that initiates the postback is set to not cause validation (CausesValidation=false) On the server side, the Page.IsValid property is set to true only after validation occurs, which is typically after the Page.Validate method is called (and iterates through the ValidatorCollection calling validate for each validator). This is called when any server control is invoked (ie. Causes a postback) that has the CausesValidation property set to true. Paul Glavich -----Original Message----- From: dotnet-owner@xxxxxxxxxxx [mailto:dotnet-owner@xxxxxxxxxxx] On Behalf Of Bernard Oh Sent: Tuesday, 30 November 2004 12:53 AM To: dotnet@xxxxxxxxxxx Subject: [aus-dotnet] ASP.NET Server Side Validation Hi guys, A person raised this ASP.NET question to me which I have no idea so I need to consult the Oracle here. When is the server side validation performed by ASP.NET kicks in? Is it determine after Page.IsValid property = true? ie all the client side validators gave their quality assurance? Thanks in advance guy ... -- Regards, Bernard .. experiencing my first summer away from Melbourne .. _________________ You are a part of the Australian "dotnet" mailing list.To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribedotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com _________________ You are a part of the Australian "dotnet" mailing list.To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxxList managed by: http://www.stanski.com
_________________ You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com
(Click here for more information on the aus-dotnet mailling list)
- References:
- RE: [aus-dotnet] ASP.NET Server Side Validation, Glavich, Paul C
- Prev by Date: [aus-dotnet] DllImport
- Next by Date: RE: [aus-dotnet] DllImport
- Previous by thread: RE: [aus-dotnet] ASP.NET Server Side Validation
- Next by thread: RE: [aus-dotnet] ASP.NET Server Side Validation
- Index(es):
