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

How do you use a custom validator? When might you want to use one?

3 Answers   Infosys,


what is session . how it is use ?

3 Answers   TCS,


What is true about application service provider?

0 Answers  


What is a postback ispostback and autopostback in asp net?

0 Answers  


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

0 Answers   Quest,






What is another word for redirect?

0 Answers  


What are the types of authentications in ASP.NET?

2 Answers   Accenture, BirlaSoft,


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

0 Answers   Siebel,


What is the usie of activex control in .net?

0 Answers  


What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc

0 Answers  


what r the Templeats in ASP.net?

5 Answers   Intel, VBV,


Where does Web.Config Info stored? Will this be stored in the registry?

4 Answers   Accenture,


Categories