Stateful Controls

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 ...

Get Pro ASP.NET 4.5 in VB, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.