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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is postback and autopostback in asp.net?

964


What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

953


What are the different types of sessions in asp.net? Name them?

1148


When you use Ajax controls in the ASP.NET application?

980


What are the new data controls in asp.net 2.0?

907


What is use of <% %> in asp.net?

955


Can we override the enablepartialrendering property of the scriptmanager class?

1076


What events will occur when a page is loaded?

985


How you will handle session when deploying application in more than a server?

1044


What is jade template engine?

986


Explain the use of dataadapter.

1010


Which protocol is used in a web api?

1047


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

965


Differentiate between early binding and late binding.

1023


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

984