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 |