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 is role-based security?

1 Answers  


What is class and object in asp.net?

0 Answers  


How does the cookies work in asp.net?

0 Answers  


What language is asp.net written in?

0 Answers  


Explain < @OutputCache% > and the usage of VaryByParam, VaryByHeader ?

1 Answers  






please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit

1 Answers   Netsweeper,


What types of data validation events are commonly seen in the client-side form validation?

0 Answers  


What is web configuration file and how to use in web application

0 Answers   MCN Solutions,


What is Partial in ASP.NET 2.0?

2 Answers   Fulcrum Logic,


What role “#&&” plays in a querysting?

0 Answers  


how many session modes are available?some brief explnation

1 Answers  


I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?

1 Answers   FutureTech,


Categories