what are types of viewstate
Answer / 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 |
What is the difference between executescalar and executenonquery?
How to migrate from sqlserver 2005 to sql server 2000 (every one know reverse process of that )
When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.
4 Answers Syntax Softtech, TCS,
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What is the maximum length of textbox
What are the authentication types in asp.net?
How do you do exception management?
1 Answers Accenture, BirlaSoft,
What is the difference between client-side and server-side validations in ASP.NET?
0 Answers Sans Pareil IT Services,
Difference between Active Exe and Activex dll ?
Why is an object pool required?
What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?
what are partial classes and their use?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)