Which two properties are there on every validation control?
Answers were Sorted based on User's Feedback
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 |
What is round trip in asp.net?
What are server side controls?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
How can we register exception filter globally?
What is meant by asp.net?
How do you implement sql caching in asp.net?
What is the mvc framework?
Where code pages are used?
Can we make a class with class with same;suppose public class abc { public class abc { } }
How many web.config files in each solution
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
How to remove cache object in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)