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 |
A Web Service Can Only Be Written In .net. Is it True??
what is impersonation in ASP.NET?
7 Answers Accenture, Merrill Lynch, Wipro,
Which two properties are there on every validation control?
what is difference between const, static and readonly?
How to you can limit Access to Web API to Specific HTTP Verb?
How is application management and maintenance improved in asp.net 2.0?
What is Virtual path in ASP.Net
Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?
What is difference between session and cookies in asp net?
What is asp.net globalization?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
What is a transaction? a) A banking term. b) A concept used to describe a step in the business process. c) A combination of DML steps that must succeed or the data is retuned to its initial state. d) A combination of DDL steps that must succeed or the data is retuned to its initial state.
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)