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 |
How do you declare static variable? What is its lifetime?
For Web services where you can browse on the Internet?
What is application variable in asp.net?
What is the difference between viewstate and hidden field in asp.net?
What is GAC in ASP.NET 2.0
What is the procedure to create the environment for asp.net? : asp.net mvc
What is the difference between rest and restful?
Which method is used to enforce garbage collection in .net?
How does the cookies work in asp.net?
Define page output caching?
Explain difference between friend and protected friend?
In which event of page cycle is the viewstate available?
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)