What is the use of Display property of all validation controls?

 Posted by Rajesh_Kumar on 1/21/2014 | Category: ASP.NET Interview questions | Views: 2609 | Points: 40
Answer:

Display property is used to show or hide validation controls on the Page.It has 3 sub-type value as Static,Dynamic and None.By-default value is Static.When None is applied,then validator controls will be hidden means will not display on the Page.
When Dynamic value is applied then whatever validation controls are there on a page for a specific Textbox control,will shift left side means will not take any space on the page.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response