Validator control and server side validation
In one of my project, I used validator control and server side validation also. It works well in my local machine when I click submit button it shows only validator control message but in my website when I click submit button it shows both validator control message and servier-side validation also.
Why it is happening?
Re: Validator control and server side validation
Whenever the code is written with in server validate event,then the [B]validation for that control will be performed after the data has been submitted to server[/B].
If the validation has to be performed at the client side,[B]then it's mandatory that the javascript function has to be written and should be assigned for client validation function[/B]
Re: Validator control and server side validation
[QUOTE=anees31;12060]In one of my project, I used validator control and server side validation also. It works well in my local machine when I click submit button it shows only validator control message but in my website when I click submit button it shows both validator control message and servier-side validation also.
Why it is happening?[/QUOTE]
[B]What do you exactly wanna do? I suggest you to remove the one you do not want. [/B]:)
Re: Validator control and server side validation
If you applied validation on text box and that is run at="server" then surly there is clien side validation and server side validation happen