Also note that if client-side validation fails for a reason or another you
need to check Page.IsValid before any validation-dependant critical code
runs. This way you can be sure that no incorrect input is passed through
even if client-side validation would fail. Server-side validation always
fires automatically with built-in validation controls, but you must manually
check Page.IsValid.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Gareth" <gcparris at hotmail dot com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
Hi, I've just published a test web site on the internet with a simple form
and some client side validation controls. On my development PC if I click
submit without entering any data the validation controls work and prompt
me as expected.
On the live web server I do exactly the same thing but no validation is
performed and the form is submitted.
How can this be?
Have I missed something in the setup script? I added both the primary
output files and the content files to the build script is there anything
else I need to add?
Thanks,
Gareth