Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 difference between executescalar and executenonquery?

0 Answers  


How to migrate from sqlserver 2005 to sql server 2000 (every one know reverse process of that )

2 Answers   Cap Gemini,


When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

4 Answers   Syntax Softtech, TCS,


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

0 Answers   TCS,


What is the maximum length of textbox

1 Answers  


What are the authentication types in asp.net?

0 Answers  


How do you do exception management?

1 Answers   Accenture, BirlaSoft,


What is the difference between client-side and server-side validations in ASP.NET?

0 Answers   Sans Pareil IT Services,


Difference between Active Exe and Activex dll ?

1 Answers   DELL,


Why is an object pool required?

0 Answers  


What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?

3 Answers   TCS,


what are partial classes and their use?

1 Answers   Patni,


Categories