Iron Speed Designer creates 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 application code, Iron Speed Designer creates a Base method for each of the methods. For example, Iron Speed Designer creates 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 application. |
For details, see: