How do you do validations. Whether client-side or
server-side validations are better.?
Answer Posted / anjani mittal
ASP.net has some validation controls which r used for validation of entry in the textboxes,dropdown & other controls etc.
These Validation Controls r:-
1> Required field validator.
2> Regular Expression field validator.
3> Range Validator.
4> Compare validator.
5> Custom field validator.
6> Validation field summary(used to display error messages).
Client side validation is better than that of server side validation b'coz it reduces the load on server by using client side validation & by doing this server performance increases & there responsivess is efficient....
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is break mode?
What is smpte vc-1?
Do you support digital rights management to protect my videos?
What is difference cookie and session?
What are the different kinds of assemblies?
What is Partial PostBack in ASP.NET?
What is session state server?
What is dynamic web page with example?
What are the advantages and disadvantages of session?
What is the difference between trace and debug in asp.net?
Why do we need a web application session?
What are the event handlers that we can have in global.asax file?
What is the difference between “Web.config” and “Machine.Config”?
What is the current version of asp.net?
Describe how passport authentication works.