Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I heard that while using server side validaion request goes to the server and response came..so if request is going to server then post back should occure right?? If not then can I say server side validation is also done at client side like javascript??
Posted

Of course, it will go to the server, else it would not be called server-side. Check this out: Validating ASP.NET Server Controls[^]
 
Share this answer
 
Comments
Pravin Survase 4-Feb-15 8:19am    
my question why POSTBACK doesn't occurre even if request is going to server....take one textbox and required field validator and then click on button and then see postback occurres or not...it doesn't occurre ..it directly shows your error message without post back. So my question is why it doesn't do post back??
Peter Leow 4-Feb-15 8:52am    
Add code snippet using the Improve question widget.
Nitij 16-Feb-15 4:59am    
Asp.Net implements equivalent validations in javascript for your inputs. It only works for inbuilt validations like required, range etc.
May be Server side validator uses their internal ajax calls to validatate controls that's why post back does not occur.If post back occurs it wouldn't be a validation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900