Chapter 7. Simple Properties and View State

In Chapter 3, we described the syntax of the property construct and discussed why you should expose properties instead of fields from your components. In this chapter, we’ll get into details that are specific to properties in server controls. We’ll describe how to maintain state for simple properties across round-trips. We’ll also describe how declarative syntax is enabled for simple properties in an .aspx page and show you how simple properties are supported in a designer. In addition, we’ll examine ...

Get Developing Microsoft® ASP.NET Server Controls and Components now with O’Reilly online learning.

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