Hi,
Ques Which two properties are on every validation control ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Mar 24, 2012, 12:31 PM
ASP.Net provides number of validation control to validate the input from the user in the web pages.
It will reduce and simplifies the work of developers.
As you know there are several types of validation control.
The above controls will have two common properties.
For example,
Here i want to make it as mandatory field in the web page. The validation controls come to the picture here.
Here i have to associate the control which needs to be validated and when the field value is not entered, the message has to be displayed. So ErrorMessage attribute is common.
The two properties are common:
ControlToValidate
ErrorMessage
I hope this will help you to understand.
If it is useful then mark it as "Accepted Answer"
Satyapriya NayakPosted Mar 24, 2012, 8:19 AM
1.Control to Validate
2.Error Message
Thanks