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 merits and demerits of viewstate?

0 Answers   Siebel,


You have multiline textbox and submit button. if you paste xml content into multiline textbox and hit submit button. what action will perform?

6 Answers   D&B,


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

0 Answers  


What symbol specifies the beginning of a query string?

0 Answers  


How ASP.NET page works?

0 Answers   MCN Solutions,






What is the use of dispose method?

0 Answers  


what is diffgram ?

3 Answers  


How do we implement bundling in MVC?

0 Answers   B-Ways TecnoSoft,


Is session stored in browser?

0 Answers  


Can you explain one critical mapping? Performance issue which one is better?

0 Answers  


What is custom control. What is the difference between custom control and user control ?

1 Answers   Microsoft, Synergy,


Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

2 Answers   Siebel Systems,


Categories