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
How should I destroy my objects in asp.net?
Where is the view state data stored?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
How do you remove duplicates without using remove duplicate stage?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What are the new web part controls in asp.net 2.0 ?
What is recordset asp?
What is csrf attack in asp.net?
Differentiate between early binding and late binding.
How to use push notification?
How long does an http session last?
Define managed code and managed data in .net?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
What is a session in asp.net?