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 ?



What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState ?..

Answer / 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

More ASP.NET Interview Questions

How do you do Client-side validation in .Net?

0 Answers  


Please brief not about xsd,xslt & xml?

0 Answers  


Can we change the session timeout in ASP.NET, if yes then how and from where?

7 Answers   L&T,


How can we prevent an aspx page get refreshed when any information fetch from the database ?

2 Answers   Minecode,


How do you construct HtmlResponseMessage?

1 Answers  


What is Difference between Application object and Session Object

5 Answers  


Define what is razor? : asp.net mvc

0 Answers  


Differentiate globalization and localization.

0 Answers  


What is stateless asp or asp.net ?

2 Answers   Accenture, BirlaSoft,


What are the 3 levels at which content pages can be attached to Master Page?

0 Answers   MCN Solutions,


what is Master pages in asp.net? what is the advantages and disadvantages?

3 Answers  


Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version

2 Answers   Citrix, TCS,


Categories