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 difference between asp.net and asp.net mvc? : Asp.Net MVC
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
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?
What is base class of button control in .net?
Define data caching?
What are session state modes?
What does the .webpart file do?
What is %20 in a url?
What is the best Macanism to clear the Cache in asp.net
What is session in asp.net?
How does ASP.NET framework maps client side events to Server side events.?
How can you register a custom server control to a web page?
Explain what are webservices?
Explain a program using code nuggets to create a simple application? : asp.net mvc
How tooltip is set through code-behind in ASP.NET?