| |
GeekInterview.com > Tech FAQs > Programming > ASP.NET
| Print | |
Question: ASP.NET View State
Answer: What is view state. How is it implemented? |
| July 07, 2008 13:20:52 |
#1 |
| raghulvarma |
Member Since: December 2007 Total Comments: 7 |
RE: ASP.NET View State |
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; |
| |
Back To Question | |