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 |
How can I open ashx file in mobile?
What is windows active directory authentication?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
What is the difference between debug and release?
Should user input data validation occur server-side or client-side? Why?
3 Answers NIC, Siebel Systems,
What is difference Between Authentication and authorization?
IN an ASP.NET Web application if there is any error, how can you debug?
different architectures of asp.net?
Why do we need Sessions?
What are directives in asp.net?
Explain the difference between Repeater and Data list control in ASP.NET?
How do you secure your configuration files to be accessed remotely by unauthorized users?
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)