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 is gac in .net?
What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?
What are the types of assemblies in .net?
How many types of transactions are there in com + .net ?
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
Is .net a language?
What is equivalent for regsvr32 exe in .net ?
What is meant by globalization and localization?
How do you turn off cookies for one page in your site? Give an example.
Explain the difference between .net 2000 and .net 2005(features)? Which one is better?
Explain can 2 different applications use the same dll in gac at the same time?
Describe difference between inline and code-behind?
Is there built-in support for logging?
What are the differences between user control and server control?
What is the use of Treeview control?