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
What does the .webpart file do?
What is the namespace to create thread in .net?
Explain how can we access static variable?
What is difference between ispostback and autopostback in asp net?
What is asp net_sessionid?
How does ASP.NET framework maps client side events to Server side events.?
Why do we use asp.net?
What are the page life cycle events?
Disable Mouse right click on web page in asp.net?
Explain difference between dataset and datareader?
What is a session in asp.net?
Distinguish between Server-side and Client-side code?
How can you pass multiple complex types in Web API?
What is localhost in asp.net?
How can we call webservices in Banking Applications? and where we are using it?