How do you perform validations?

Answers were Sorted based on User's Feedback



How do you perform validations?..

Answer / raviraj

When it comes to client side we can validate html controls
using javascript.ont the server side you can use validation
controls such as compare validator,range validator,custom
validator,required field validator and regular expression
validator.Based on our requirement we can use one or more
above mentioned validation controls at a time in an
application

Is This Answer Correct ?    3 Yes 1 No

How do you perform validations?..

Answer / richard des jardins

Remember, Server Side Validation must always be performed,
then optionally Client Side validation to enhance the user
experience. On the server, you can write Server Side code
to perform the validation. On the Client, you can use any
of the .NET Validators or write JavaSCript and Regular
Expressions to enable validation. Both previous answers
were correct is the question was how to enable client side
validation. Always validate on the server and them
optionally on the client.

Is This Answer Correct ?    1 Yes 0 No

How do you perform validations?..

Answer / ashis

By Javascript and by using regular expression class.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Explain about secure socket layer?

0 Answers  


What is the difference between Hash table and Array list?

0 Answers  


List the major built-in objects in asp.net?

0 Answers  


I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?

0 Answers   Patni,


How do we invoke queries from the application?

3 Answers   Microsoft,






What are the different modes for the sessionstates in the web.config file?

2 Answers  


how to update data using store procedure

1 Answers  


How to Separate background image and front image from original picture....

0 Answers   Sans Pareil IT Services,


List some of the important session state modes of asp.net.

0 Answers  


What is asp.net web pages?

0 Answers  


Why does a user need nothing more than a Web browser to view ASP.NET pages?

1 Answers  


What is the use of execute non query in asp.net?

0 Answers  


Categories