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
Define viewstate in .net?
How you can stop the validation of ASP.NET controls from client side?
What is AutoEventWireup attribute for ?
how to write html code with ssl
How do I use a proxy server when invoking a web service?
Explain the purpose of storyboard.targetproperty.
What is meant by web application?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Is there any property names “isnavigating”?
What is the significance of proxy user?
Explain how dot net compiled code will become platform independent?
What is break mode?
What are the different types of sessions in asp.net? Name them?
What is the sequence in which ASP.NET events are processed?
What is the life cycle of an asp.net page?