Code Customization Model: The Page Control Hierarchy
All web pages in Microsoft .NET Framework contain a number of user interface controls that are initialized at the server side and are called server controls. Since server controls can have children, and each of their children may have children, a control and its descendents form a page control hierarchy.
- Razi Mohiuddin, President of Iron Speed, Inc.

August 30, 2006
Iron Speed Designer V4.0

The Page Control Hierarchy

All web pages in Microsoft .NET Framework contain a number of user interface controls that are initialized at the server side and are called server controls. Since server controls can have children, and each of their children may have children, and so on, a control and its descendents form a tree of controls. This tree of controls is called the control hierarchy. The root of the control hierarchy for a .NET web page is the Page-derived class. Iron Speed Designer generates a hierarchy of controls for each of the pages.

The loading of the data from the database is delegated by the page to the Table Control or the Record Control classes. Since you can have a number of tables and records displayed on a page, there can be multiple Table Control and Record Control classes within a page. Each of the classes is responsible for loading its data from the database based on the query you specified and any search, filter and pagination settings selected by the end user. The Row record control class does not load data directly from the database, but receives its data from the Table Control class.

The dropdown filter controls load the data from the database directly in methods that are named PopulateFILTERNAME.

The field value controls do not load data from the database directly. Instead they rely on the Table Control and Record Control classes to load the data and are bound in the DataBind methods for each of the table or record control classes.

About the Author

Razi Mohiuddin
Co-Founder, President & CEO of Iron Speed, Inc.

Mr. Mohiuddin co-founded numerous Internet and software companies, including Onsale, Inc. (later Egghead.com and now Amazon.com), Ambia Corporation, an electronic document publishing software company later acquired by Infodata Systems Inc., and Software Partners, Inc., a software consulting company that developed StreetSmart, e.Schwab, FundMap, SchwabLink and Retirement Planner software for Charles Schwab & Co.

Mr. Mohiuddin earned his BS in Computer Science from the University of Illinois, Chicago.



  Privacy Statement