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

What is asp net_sessionid?

0 Answers  


what is the use of untyped data set ?

5 Answers   TCS, Wipro,


What are the different types of validation controls provided in ASP.NET?

0 Answers   Sans Pareil IT Services,


Why we go for mvc instead of asp.net? : Asp.Net MVC

0 Answers  


Is react a template engine?

0 Answers  


How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

0 Answers   AlKhaleej, Swatz Oils,


When we are requesting a new URL through Response.Redirect() the new page wil open on the new browser window or it wil open in the same window? If we use Server.Transfer() what wil happen?

1 Answers  


Describe session handling in a webfarm?

0 Answers  


A web service can only be written in .net? State whether true or false.

0 Answers  


what is client back feauture ?

1 Answers  


what is NET Framework ?

4 Answers   TCS,


Categories