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
What should you do to store an object in a viewstate?
How do you instantiate a complex number?
What do you mean by Driver Script?
Is Driver Script any how related to AOM?
What are the improvements made in cas in .net 4.0?
Explain the difference between asp.net and asp?
Explain .NET architecture?
What is UDDI and how to register the web service in it?
What is managed code in .NET?
What is .net and why it is used?
What is machine.config in .net?
Please explain what is the difference between a class and an object?
Explain memory-mapped files.
Can a try block have more than one catch block?
Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?