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 state management?

2 Answers  


What kind of data can be stored in viewstate?

0 Answers  


hi all, can we sort the data set without using the gridview sort method

1 Answers   CGI,


What is view state and how this can be done and was this there in asp ?

3 Answers   Accenture, BirlaSoft, CTS, Mphasis,


Describe the application event handlers in ASP.NET?

0 Answers   HCL,






How to set the pane area to transparent of a scrollPane component.?

0 Answers   MCN Solutions,


Can we Run the Application without Build

3 Answers   Emphasis,


Security types in ASP/ASP.NET? Different Authentication modes?

4 Answers   QuadLabs Technologies,


What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

0 Answers  


Code for scolling in gridview

1 Answers   TCS,


What are cao and sao.

0 Answers  


What is server objects in asp.net?

5 Answers  


Categories