August 2002
Intermediate to advanced
944 pages
22h 32m
English
Now that you’ve learned how to create Web Forms and other ASP.NET pages, let’s look in more detail at the Page class, its life cycle, and how to use controls in conjunction with a Page.
Every ASP.NET page has an associated Page class. This class can be created from an ASPX page that contains a mixture of HTML and code, or it can be formed from the merger of automatically generated code and a code-behind class (as described earlier). In either case, the attributes of the <%@ Page %> directive provide some key information when this class is created, as shown in Table 16-1.
Table 16-1. Important Attributes of the <%@ Page %> Directive
|
Page Attribute |
Description |
|---|---|
|
Language |
The default language for the page. |
Read now
Unlock full access