What is advantage and disadvantage of viewstate
Answers were Sorted based on User's Feedback
Answer / vikas_asp@rediffmail.com
Advatage: Using viewstate we can maintain the state of
controls over page's postback.
Disadvantage: viewstate makes the page heavy during postback
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vijay
view state helped to maintain a state of a object,
view state is used only for those objects which can be
serizaable
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / mano
Advantage:
1.view state used to store hidden values at the time of Postback.
2. It maintain state of object;
Disadvantage:
1.When process load into server it cost may higher.
SO when do web papplication,it good to avoid use of to many
HiddenFeilds
| Is This Answer Correct ? | 0 Yes | 0 No |
Define session in asp.net.
Which is the namespace used to write error message in event Log File?
How many Directives r in ASP.NET?
What is viewstate in asp net with example?
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?
How do you use a custom validator? When might you want to use one?
Why mvc is better than asp.net? : Asp.Net MVC
what is the deference between dataset and data adapter?
What is Auto-event wireup? what is the default value for this? when u change the value what will happen?
What are different templates available in Repeater,DataList and Datagrid ?
How many types of sessions are there?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
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)