How can we control ViewState globally?

 Posted by vishalneeraj-24503 on 12/13/2013 | Category: ASP.NET Interview questions | Views: 1753 | Points: 40

In the Pages section inside web.config file,we can set EnableViewState property to True/False,which will be applied in all the pages in an application.

For Example:-

To enable/disable a ViewState,in web.config file write:-



<pages enableViewState="false">



Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response