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 |
In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected
What does WSDL stand for?
What is a session government?
what is cross page posting
what is session . how it is use ?
What is semantic gap?
True or False: A Web service can only be written in .NET?
how can we maintain security in soted procedure?
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
0 Answers Sans Pareil IT Services,
What is the transport protocol you use to call a Web service?
how many character send in one sms forget 160limit and think about gateway allowed
What is the purpose of each of the validation controls provided by ASP.NET?
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)