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

What does the .webpart file do?

0 Answers  


What is comparevalidator?

0 Answers  


In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

0 Answers  


Explain how do you validate the controls in an asp .net page?

0 Answers  


Define authentication and authorization.

0 Answers  






can i call the java script to code behind file?if yes how?

4 Answers   Wipro,


Where is session cookies stored?

0 Answers  


hi guys do u know how to go one page to one page to another page plz tell me any of u know

3 Answers  


What is Web Services?How we can consume a Web Services in our application?Explain.

1 Answers   Religare,


How can u handle Exceptions in Asp.Net?

4 Answers  


What is variable and constant in .net programming language?

0 Answers  


Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?

1 Answers  


Categories