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
When you use Ajax controls in the ASP.NET application?
I’m having some trouble with cas. How can I diagnose my problem?
About CLR, reflection and assemblies?
What kind of data we can store in viewstate?
Which is the parent class of the web server control?
How to implement Authentication and Authorization?
How can we register exception filter globally?
Can you set which type of comparison you want to perform by the comparevalidator control?
Explain the working of passport authentication.
What is the maximum amount of memory any single process on windows can address?
3. What goals do you have in your career?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
To display data in a Repeater control which template you provide?
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
Explain how to prepare culture-specific formatting in .net.