Answer Posted / prashant
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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
Explain assemblies in .net?
Tell us what is a sealed class?
What is managed code execution?
What is the intermediate language between asp and asp.net1.0?
What are the new 2.0 features useful for?
What is the root class in .net?
How do you generate a strong name?
What is RPC? What is the use of it?
What are two different types of remote object creation mode in .net?
What is concurrency? How will you avoid concurrency when dealing with dataset?
How many namespaces are in .net version 1.1?
Please explain what is heap and what is stack?
What is alias ? Is it used in .Net ?
What is stored procedure ? how we use it in .NET ?
What are the advantages of .net?