Home All Groups Group Topic Archive Search About

What do validation controls do, internally, on server side to stop to page processing from continuin

Author
2 Jun 2006 5:38 PM
TS
does it do a reponse.end or something?

thanks

Author
3 Jun 2006 6:07 AM
Brock Allen
They don't stop processing at all; button clicks and other server side events
for normalls. Check Page.IsValid to see if validation failed.

-Brock
http://staff.develop.com/ballen


Show quoteHide quote
> does it do a reponse.end or something?
>
> thanks
>
Author
3 Jun 2006 6:12 AM
Brock Allen
Ugg, that meant to read:

They don't stop processing at all; button clicks and other server side events
fire normally. Check Page.IsValid to see if validation failed.

-Brock
http://staff.develop.com/ballen
Author
5 Jun 2006 6:14 AM
Steven Cheng[MSFT]
Thanks for Brock's informative inputs.

Hi TS,

The ASP.NET validation control's server-side valiation won't interrupt the
ASP.NET page request's processing. Actually the server-side validation
occurs after Page_Load and before the page's postback event get processing.
Generally, if we care about the validation result, we should
programmatically check the Page.IsValid property and adjust the codelogic
in event handler.  Here is a good msdn article discusses on ASP.NET
validation:

#ASP.NET Validation in Depth
http://msdn.microsoft.com/library/en-us/dnaspp/html/aspplusvalid.asp?frame=t
rue

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Author
5 Jun 2006 1:31 PM
TS
thanks all

Show quoteHide quote
"Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message
news:PcJ7NdGiGHA.4948@TK2MSFTNGXA01.phx.gbl...
> Thanks for Brock's informative inputs.
>
> Hi TS,
>
> The ASP.NET validation control's server-side valiation won't interrupt the
> ASP.NET page request's processing. Actually the server-side validation
> occurs after Page_Load and before the page's postback event get
> processing.
> Generally, if we care about the validation result, we should
> programmatically check the Page.IsValid property and adjust the codelogic
> in event handler.  Here is a good msdn article discusses on ASP.NET
> validation:
>
> #ASP.NET Validation in Depth
> http://msdn.microsoft.com/library/en-us/dnaspp/html/aspplusvalid.asp?frame=t
> rue
>
> Hope this helps.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Community Support
>
>
> ==================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ==================================================
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
>
>
>
>
>
>
Author
6 Jun 2006 8:44 AM
Steven Cheng[MSFT]
You're welcome TS,

Good luck!

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)