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 |
What is the difference between a cookie and a pixel?
What is a proxy in web service?
I have been asked in an interview What is your LOC(Line of Code)What will be the probable answer for that
1 Answers HCL, Infosys, Mantec Consultants,
What are app services?
What are the events that happen when a client requests an asp.net page from iis server?
Explain the difference between response.redirect vs server.transfer
What are the different types of sessions in asp.net?
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?
How can we prevent an aspx page get refreshed when any information fetch from the database ?
Why is validation always done on the server? When does that occur?
Does C# support static class?Is Static class be inherited by any class?
If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.