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 is ViewState? How is it encoded? Is it encrypted? Who uses ViewState ?

Answer Posted / nikhiul saxena

ViewState is the mechanism ASP.NET uses to keep track of server control state values that don't otherwise post back as part of the HTTP form. ViewState Maintains the UI State of a Page
ViewState is base64-encoded.
It is not encrypted but it can be encrypted by setting EnableViewStatMAC="true" & setting the machineKey validation type to 3DES. If you want to NOT maintain the ViewState, include the directive < %@ Page EnableViewState="false" % > at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How Can assign alias name for ASP.NET Web API Action?

1517


What is the difference between page-level caching and fragment caching?

1022


Explain the differences between clr & cts?

1050


What are the advantages of the code-behind feature?

1048


How do you store a value in viewstate and retrieve them?

1061


What is OSI layer? Explain different layers.

1111


how to elimainte the similar data from the different tables

2229


Explain the working of passport authentication.

1001


What is gridview in asp.net?

1059


WSDL means?

1195


calling result set one procedure to anothar procedure in sql2000

1822


What is difference between asp state management and asp.net state management?

1147


Is react a template engine?

974


What are the difference between overriding and overloading?

1161


Explain parts of assembly?

1014