M
Mr Marsh
I have a problem with validation on a form that I've created. When I
run the form locally the validation works beautifully, I've got
comparison, required field and regular expression validation set up.
When I try to proceed without entering required information the
summary kicks in and this is done client side - my understanding is
that provided you have EnableClientScript set to true and the browser
supports this then it should occur on the client, otherwise the
validation occurs on the server. Furthermore if the validation is
passed on the client it is re-checked when it hits the server.
The problem arises when I post the .aspx files and the .dll to my
webspace. The validation is not consulted which allows me to leave
fields blank that I'm forced to fill in when I run the form locally.
I'm still very much beginning my journey with asp.net and certainly
wouldn't rule out a school boy error!
I'm using Visual Studio and writing the code in c#.
Thanks very much - peter
run the form locally the validation works beautifully, I've got
comparison, required field and regular expression validation set up.
When I try to proceed without entering required information the
summary kicks in and this is done client side - my understanding is
that provided you have EnableClientScript set to true and the browser
supports this then it should occur on the client, otherwise the
validation occurs on the server. Furthermore if the validation is
passed on the client it is re-checked when it hits the server.
The problem arises when I post the .aspx files and the .dll to my
webspace. The validation is not consulted which allows me to leave
fields blank that I'm forced to fill in when I run the form locally.
I'm still very much beginning my journey with asp.net and certainly
wouldn't rule out a school boy error!
I'm using Visual Studio and writing the code in c#.
Thanks very much - peter