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

What is preprocessor in .net? Where it use?

0 Answers  


Where would you use an ihttpmodule, and what are the limitations of any?

0 Answers  


when we write the html code with runat = server it works like a server control than why we use the server control?

1 Answers  


how to transfer the file from client to server using asp.net

0 Answers   Sans Pareil IT Services,


How many types of session in ASP.NET

0 Answers   MCN Solutions,


If you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?

1 Answers  


What is an il?

0 Answers  


When Garbage Collector will run and how its identifing whether the Object is used or Not.?

2 Answers   Verizon,


Explain server-side scripting?

0 Answers  


How does the XmlSerializer work? What ACL permissions does a process using it require?

2 Answers  


How u refer webservices?

0 Answers   Microsoft,


What is the difference between globalization and localization?

0 Answers  


Categories