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