Page Classes

Iron Speed Designer generates a class hierarchy for each page created by Iron Speed Designer.  This class is ultimately derived from the Microsoft .NET Page class.  A BasePage class provides additional validation and event handling functionality.

Typically, the lowest level class is called the code-behind class by Microsoft Visual Studio .NET and contains several event handlers and other functionality.  The file containing the code-behind class is opened when you view the source for an ASPX page or ASCX control. 

Microsoft .NET Framework does not provide the flexibility of sub-classing of page classes where the controls are defined at both the base class and the sub-class.  To provide the ability to customize the generated code, Iron Speed Designer creates a Base method for each of the methods.  For example, Iron Speed Designer generates LoadData and LoadData_Base.  LoadData calls LoadData_Base to perform the actual work.  LoadData can be customized, while LoadData_Base should not be modified.  LoadData can call perform additional work before or after the call to LoadData_Base, or the entire call to LoadData_Base can be replaced with custom code in LoadData.

The base methods should not be modified.  The safe methods can be modified.

Use Page classes to modify the components and other visual aspects of your generated web application.

The inheritance model of the generated code is shown above.

For details, see:

<PAGE> Class

BasePage Class

See Also

Application Class Hierarchy