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

which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row

3 Answers   Airtel, Aviva,


What are the session variables?

0 Answers  


what is PostBack Property exactly ? when It Returns True? when it Returns False?

1 Answers  


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


what is view state?

10 Answers   Satyam,


Where on the Internet would you look for Web services?

5 Answers   IBM, MNC, Siebel Systems,


What is a master page and what does it do?

0 Answers  


relacement of websevices in .net 3.0?

1 Answers   Mind Tree,


Explain about the .NET framework?

0 Answers  


What is data control in asp.net?

0 Answers  


What is the purpose of asp.net?

0 Answers  


Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....

6 Answers   Logica CMG,


Categories