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 are the best practices to follow to secure connection strings in an ASP.NET web application?
What is session in asp.net?
Difference between windows application and web application? Which is the best for updation purpose?
Is It Possible for Static Variables access normal variable? and Normal Varialbe Access the static Variables?
1 Answers Phoenix Technologies,
What is the difference between typeof() vs gettype()?
How many Controls present in Asp dot net?
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?
What is synchronous and Asynchronous post back ?
What methods are fired during the page load?
What is validation in asp.net?
How Many types of Page Load functions in asp.net
Explain the concept of event bubbling in ASP.NET?
0 Answers Sans Pareil IT Services,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)