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


Please Help Members By Posting Answers For Below Questions

What is difference between asp.net and asp.net mvc? : Asp.Net MVC

573


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1529


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1510


What is base class of button control in .net?

627


Define data caching?

620






What are session state modes?

654


What does the .webpart file do?

667


What is %20 in a url?

614


What is the best Macanism to clear the Cache in asp.net

816


What is session in asp.net?

609


How does ASP.NET framework maps client side events to Server side events.?

639


How can you register a custom server control to a web page?

653


Explain what are webservices?

639


Explain a program using code nuggets to create a simple application? : asp.net mvc

599


How tooltip is set through code-behind in ASP.NET?

672