How do you perform validations?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ashis
By Javascript and by using regular expression class.
Is This Answer Correct ? | 0 Yes | 2 No |
What does the .webpart file do?
What is comparevalidator?
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?
Explain how do you validate the controls in an asp .net page?
Define authentication and authorization.
can i call the java script to code behind file?if yes how?
Where is session cookies stored?
hi guys do u know how to go one page to one page to another page plz tell me any of u know
What is Web Services?How we can consume a Web Services in our application?Explain.
How can u handle Exceptions in Asp.Net?
What is variable and constant in .net programming language?
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?