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
How is mvc different from asp.net? : Asp.Net MVC
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What is asp.net and its advantages?
Where can I get information on cookies in asp.net?
How to comment out asp.net tags?
How many types of cookies are there in asp.net?
Which of the following .NET framework supports Web API?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What are sessions used for?
How you will improve web application performance?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Where you store Connection string in "Web.Config" file in ASP.NET?
Can you set which type of comparison you want to perform by the comparevalidator control?