Which two properties are there on every validation control?

Answers were Sorted based on User's Feedback



Which two properties are there on every validation control?..

Answer / deva

ControlToValidate and Text or ErrorMessage properties

Is This Answer Correct ?    7 Yes 1 No

Which two properties are there on every validation control?..

Answer / ashish tiwari

Validator Control Basics

All of the validation controls inherit from the base class
BaseValidator so they all have a series of properties and
methods that are common to all validation controls. They
are:
? ControlToValidate - This value is which control the
validator is applied to.

? ErrorMessage - This is the error message that will
be displayed in the validation summary.

? IsValid - Boolean value for whether or not the
control is valid.

? Validate - Method to validate the input control and
update the IsValid property.

? Display - This controls how the error message is
shown.

Comments on tiwariaj@yahoo.co.in ...

Ashish Tiwari
Software Programmer
I Media Corp. Ltd
Mahape,Navi Mumbai.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Is it necessary to lock application state before accessing it ?

1 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


Where the viewstate is stored after the page postback?

0 Answers  


How you will improve web application performance?

0 Answers   Wipro,






how we can solve machine key error in asp.net?

3 Answers  


which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

0 Answers   TCS,


if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?

1 Answers  


What is form submit?

0 Answers  


How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?

1 Answers   Cap Gemini, TCS,


Which template must you provide, in order to display data in a Repeater control?

1 Answers  


What is asp.net globalization?

0 Answers  


Categories