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 clr, cts and cls?
With these events, why wouldn't microsoft combine invalidate and paint, so that you wouldn't have to tell it to repaint, and then to force it to repaint?
How does linq work?
Explain about Behavioral design pattern?
What versions of .net are there?
Difference between dispose and finallize method?
Do you know what's the difference between .net and laravel?
Difference between abstract class and interface in .net?
How is .net able to support multiple languages?
Please explain what is immutability, what is it for and how is it codified?
What is msil, il?
What is the microsoft .net?
What is dot net architecture?
Please explain when should you use .net web forms over asp.net mvc?
Difference between class and interface in .net?