Answer Posted / taran
there r no types of viewstate since viewstate itself is one
of the type of asp.net state management. viewstate: used to
save data within postbacks in hidden fields. stored data can
be encrypted for more security via 1) web.config file's
<Configuration>
<system.web>
<pages viewStateEncryptionMode="Always"/>
</system.web>
</configuration>
or 2) page directive:-
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default"
ViewStateEncryptionMode="Always"%>
can set to off:
1) at entire page level or at specific control level
2) at machine or application level in web.config file
| Is This Answer Correct ? | 28 Yes | 1 No |
Post New Answer View All Answers
Securitywise What are the Enhancements in 2.0?
Why do you use the app_code folder in asp.net?
What is asp short for?
Is razor a programming language?
What are the new data controls in asp.net 2.0?
What is a multilingual website?
What is the significance of proxy user?
What is the importance of Global.asax in ASP.NET?
What are the authentication types in asp.net?
What is web api and why to use it?
What are server objects?
What is asp.net ajax?
What is a proxy in web service?
Which is faster viewdata or viewbag?
Explain the steps to be followed to use passport authentication.