ASP.NET View State

What is view state. How is it implemented?

Questions by dinesh pradhan

Showing Answers 1 - 3 of 3 Answers

View state is mainly used in order to store the data inbetween the postbacks. To clearly explain if you complete the registration screen you go to the next page and when you come back you could see the details that you have filled in the text box or dropdown list. These things are possibel only due to view state.

We could enable the view state for each and every control as ex for a textbox
textbox1.EnableViewState = true;

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions