One of the underlying issues in any web application framework is the need to create a consistent and persistent user experience across a set of stateless HTTP requests—something that is handled by state data. In Chapter 18, we showed you the different state features that ASP.NET provides and in this chapter we return to that theme to explain the options that are available for controls. In particular, we describe the view state feature—one of the most widely misunderstood and misused features that ASP.NET provides.
Preparing the Example Project
For this CHAPTER we created a project called ControlState using the Visual ...