What are validator? Name the Validation controls in asp.net?
How do u disable them?
Answers were Sorted based on User's Feedback
Validator means checking inputed data in any field like
textBox or dropdownbox any other which we want to validate
at client side using sever tag.
Following are type of validator control in asp.net.
1. Ranage validator control
2. RequireFieldvalidator control
3. CompareValidator control
4. RegularExpressionValidator control
5. CustomValidator control
6. ValidationSummary control
if we mention in our page but want to disable just use the
property of validator control causevalidation=false.
Is This Answer Correct ? | 2 Yes | 0 No |
In addition of the above answer, it is interesting to know
the "Turning off Client-side Valiation".
Because validation server contols provide clients with
client-side validations automatically, you might, at times,
want a way to control the behavior.
It is quite possible to turn off the client-side
capabilities of these controls so that they don't
independently send client-side capabilities to the
requestor. U can turn off this functionality.
The first is at the control level. Each of the validation
server controls has a property called EnableClientScript.
This property is set to True by default, but setting it to
False prevents the control from sending out a Javascript
function for validation on the client. Instead, the
validation check is done on the server.
Is This Answer Correct ? | 2 Yes | 0 No |
Mention the namespace that is used to include .net data provider for sql server in .net code?
How many column in table of sql server?
whats the purpose of AUTOPOSTBACK property for the controls in asp.net?
Any disadvantages in Dataset and in reflection ?
0 Answers DELL, Digital GlobalSoft,
How to create events for a control?
Types of exceptions in dot net???
Explain difference between dataset and datareader?
How to disable SOAP1.2 in Web Services?
Explain about Automatic resource management?
What does AspCompat="true" mean and when should I use it?
Do gac'ed assemblies have fulltrust?
ASP.NET Web Service