What is the default value of EnableViewState property.

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

By-default EnableViewState property is True for any control.

As we know that,Viewstate is used for retaining values among multiple postbacks.To work with such things,we have EnableViewState property in Asp.Net,which we have to set to True/False
in control-level,page-level and application-level.

<asp:TextBox ID="TextBox1" runat="server" EnableViewState ="true/false"></asp:TextBox>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response