How do you do validations. Whether client-side or
server-side validations are better.?

Answers were Sorted based on User's Feedback



How do you do validations. Whether client-side or server-side validations are better.?..

Answer / srikanth

Hi Jiten, you're mistaken bydefault all the asp.net
controls are server controls that runs server side, so
validation controls do. To reduce the burden on the server
we will use javascript validation which will be done client
side.

Is This Answer Correct ?    6 Yes 0 No

How do you do validations. Whether client-side or server-side validations are better.?..

Answer / jiten

Asp.Net has few validation control like
campare , requirefield , rang ,regulorexpression and custom

u can use any validation control with html ,asp control

Asp.net validation control are by default cilde side
validation .
and the cliend side validation is better blz it's reduse
the burdon to the server

Is This Answer Correct ?    2 Yes 2 No

How do you do validations. Whether client-side or server-side validations are better.?..

Answer / sathish

how do you do validations in vb.net project

Is This Answer Correct ?    0 Yes 0 No

How do you do validations. Whether client-side or server-side validations are better.?..

Answer / sudhir sheoran

Validation can be done at server side as well as
client side.

Client side validations :-
1) are of great use with the enhancement of
java scripts.
2) Performance booster as validation is done at client side.
3) security issues are there in client side validation.
4) So should be used for simple operations like
user input validations e.g valid name,valid date range,
valid phone number,email etc,where security is of not
that much concern.

Server Side validation(SSV):
1) Some validations can be done at server side only
e.g whether a email exists in database or not.
2) Decreases performance because of more trips to server
3) When security is a concern SSV should be used.

Is This Answer Correct ?    0 Yes 0 No

How do you do validations. Whether client-side or server-side validations are better.?..

Answer / 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

More ASP.NET Interview Questions

what is the difference between sql 2000 and 2005?

2 Answers   Cognizant,


what is the auto option in XML ?

1 Answers  


What is asp.net used for?

0 Answers  


Can we change the session timeout in ASP.NET, if yes then how and from where?

7 Answers   L&T,


What is .NetFramework?

1 Answers   Syntel,






How do you design a website with multilingual support in ASP.NET ?

0 Answers   MCN Solutions,


Explain the difference between Web Garden and Web Farm?

0 Answers   Sans Pareil IT Services,


I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Integra, TCS, Wipro,


What is the difference between GridView and Repeater controls in ASP.NET?

0 Answers  


Which library is used by the testers and developers to develop automated tests and create testing tools?

0 Answers  


How many types of cookies are available in asp?

0 Answers  


What is asp net application object?

0 Answers  


Categories