What are validator? Name the Validation controls in asp.net?
How do u disable them?

Answers were Sorted based on User's Feedback



What are validator? Name the Validation controls in asp.net? How do u disable them?..

Answer / hiteshj78

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

What are validator? Name the Validation controls in asp.net? How do u disable them?..

Answer / dilip

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

Post New Answer

More ASP.NET Interview Questions

Mention the namespace that is used to include .net data provider for sql server in .net code?

0 Answers  


How many column in table of sql server?

3 Answers  


whats the purpose of AUTOPOSTBACK property for the controls in asp.net?

4 Answers  


Any disadvantages in Dataset and in reflection ?

0 Answers   DELL, Digital GlobalSoft,


How to create events for a control?

0 Answers  






Types of exceptions in dot net???

1 Answers   TCS,


Explain difference between dataset and datareader?

0 Answers  


How to disable SOAP1.2 in Web Services?

1 Answers  


Explain about Automatic resource management?

0 Answers  


What does AspCompat="true" mean and when should I use it?

1 Answers   Infogain,


Do gac'ed assemblies have fulltrust?

0 Answers  


ASP.NET Web Service

1 Answers  


Categories