5.5. The Page Class

One control we haven't discussed in detail yet is the Page class. As explained in the previous chapter, every web page is a custom class that inherits from System.Web.UI.Page. By inheriting from this class, your web page class acquires a number of properties and methods that your code can use. These include properties for enabling caching, validation, and tracing, which are discussed throughout this book.

Table 5-9 provides an overview of some of the more fundamental properties, which you'll use throughout this book.

Table 5.9. Basic Page Properties
IsPostBackThis Boolean property indicates whether this is the first time the page is being run (false) or whether the page is being resubmitted in response to ...

Get Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second Edition now with O’Reilly online learning.

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