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
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
What is marshalling ? Is it a part of asp.net ?
Define data caching?
Which is faster viewbag or viewdata?
Which data type does the rangevalidator control support?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
Define what is razor? : asp.net mvc
What are the contents of cookie?
How does the service stream content?
What is custom events?
Can you change a master page dynamically at runtime? How?
what is silver light when will we use silver light,
What is asp.net? How is it different from asp?
What are url fragments?
Define cookie.