Define ViewState and how can it be used?

Answer Posted / nazeer

when client makes a request for a page, asp.net process the
@server and gets result.
All this result of controls are concatnated into one string.
This string converted to base64 encodining format and
stored in hidden field called "viewstate"

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need master page in asp.net?

535


What is css in asp.net?

555


In asp.net, how can you validate drop down box?

586


Explain the code Access Security (CAS) in .net Framework?

695


What is voluum?

544






What is the postback property in asp.net?

544


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

1991


Which namespace is used by ado.net?

571


Is there any limit for query string? Means what is the maximum size?

494


Can you explain how ASP.NET application life cycle and page life cycle events fire?

573


What is preprocessor in .net? Where it use?

535


What is preprocessor in .net?

539


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

533


Describe the events in the life cycle of a web application.

603


What’s the difference between response .redirect and server.transfer?

525