what are types of viewstate



what are types of viewstate..

Answer / taran

there r no types of viewstate since viewstate itself is one
of the type of asp.net state management. viewstate: used to
save data within postbacks in hidden fields. stored data can
be encrypted for more security via 1) web.config file's
<Configuration>
<system.web>
<pages viewStateEncryptionMode="Always"/>
</system.web>
</configuration>
or 2) page directive:-
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default"
ViewStateEncryptionMode="Always"%>

can set to off:
1) at entire page level or at specific control level
2) at machine or application level in web.config file

Is This Answer Correct ?    28 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

what are the components available in global.asax ?

1 Answers  


How can u sort strings in array where strings are passed to method as arguments.

3 Answers   CTS, Syncfusion,


What is application state?

0 Answers  


What are strong names?

0 Answers  


If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.

0 Answers   Siebel,






Explain the significance of routing? : asp.net mvc

0 Answers  


What is cookies cache and session?

0 Answers  


What is asp.net globalization?

0 Answers  


What is form submit?

0 Answers  


What is a multilingual website?

0 Answers  


What is the namespace used to store the information about the user?s locale?

1 Answers   NeoSoft, Siebel,


Differentiate globalization and localization.

0 Answers  


Categories