Which two properties are there on every validation control?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I tap into other windows livetm services?

651


What is server redirect?

641


What is an axd file?

686


Where do the cookie state and session state information be stored?

597


How dataadapter.fill works?

653






Explain the difference between asp and asp.net?

592


Write the different features of a Thread and a Process?

719


Do you know caching feature?

656


What is a pixel url?

595


Can we create a multiple user simultaneously ?

667


Why do we use sessions?

675


What are server-side comments in ASP.NET?

653


What is manifest in .net framework?

642


How does session work in asp net?

641


How do you hide the columns?

670