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 are web server controls in asp.net?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
which method marks a config file section for encryption?
How we can force all the validation controls to run?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What are the advantages of using session?
Explain how can we access static variable?
Is viewstate secure?
Differentiate between a page theme and a global theme?
What is a uri query?
Give real time examples for polymorphism, encapsulation, inheritance..
How many Language support 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)