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 is the challenging situation you faced in your career?

3 Answers   Calsoft, HP, Satyam, Wipro,


What is session state server?

1 Answers  


How can we prevent an aspx page get refreshed when any information fetch from the database ?

2 Answers   Minecode,


What is view state and how this can be done and was this there in asp?

11 Answers   Accenture, KDOT, Mphasis,


Explain the various authentication mechanisms in asp.net.

1 Answers  


What does asp.net stand for?

1 Answers  


What is the mvc framework?

1 Answers  


What does assemblyinfo.cs file consist of?

2 Answers   Accenture, HCL,


what are the web form events available in asp.net?

1 Answers  


what is difference between java and .net

11 Answers   Base2 Infotech, Karur Vysya Bank KVB, TATA AIG, TCC,


What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

1 Answers   Syntax Softtech,


can i call the java script to code behind file?if yes how?

4 Answers   Wipro,


Categories