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

how to transfer the file from client to server using asp.net

588


Can asp.net work on an nt server?

554


Explain what the contents of cookie?

590


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

597


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

3406






List the asp.net validation controls?

522


how can create login from create and written conde in asp.net

1777


They mostly asked difference between versions of technologies

951


What is %20 in a url?

544


How many types of file extensions for razor views in ASP.Net MVC?

576


Explain form level validation and field level validation?

513


What is virtual directory in asp.net?

512


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1466


What is the default timeout for a cookie?

560


What are the versions of garbage collection?

1457