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

Explain the disadvantages of viewstate?

747


What is the server of asp.net?

717


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

773


Do you know caching feature?

733


What is the difference between application state and session state in asp net?

744


What is a 404 redirect?

789


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

783


How to disable disable browser's Back button in asp.net (JavaScript)?

786


Describe paging in asp.net?

863


Which asp.net objects encapsulate the state of the client and the browser?

774


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1562


Is viewstate secure?

718


What are Session states available and its Uses?

1924


Difference between response.redirect and server.transfer?

749


What is Bundling and Minification in MVC?

764