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
In which event are the controls fully loaded?
What is IPostBack? How to use it?
Can we store object in viewstate?
Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?
What is the web.config file in asp?
Can asp.net work on an nt server?
What is validation in asp.net?
Define web services in asp.net.
Explain the flow of processing of the request? : asp.net mvc
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Describe how passport authentication works.
Explain about consistent programming model in the .NET framework?
What is session object? Describe in detail.
What is session state server?