CHAPTER 32

image

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.