This section explains how to create the style sheet mentioned earlier, master pages, controls, and classes. The solution section walks through an example demonstrating how to use these features to create both the page that displays the list of users defined in the system and the page that enables users to add or update existing users. The following table describes all the master pages, controls, style sheets, and classes that will be built in this chapter.
|PaidTimeOffUI: PaidTimeOff.css||This style sheet contains the company brand colors and is used by all other pages to consistently display the correct fonts and colors across all pages.|
|PaidTimeOffUI: PaidTimeOff.master||This is the main master page that contains the layout shown in Figure 4-1. All pages should use this master page or a master page that is nested in this master page.|
|PaidTimeOffUI: PaidTimeOffEditGrid.master||This is a nested master page that is used for all pages that display lists of records to the user in a GridView.|
|PaidTimeOffUI: PaidTimeOffEditPage.master||This nested master page is used for all pages to enable users to edit a record. A Save and Cancel button are placed on this page so every page is consistent.|
|PaidTimeOffUI: App_Code\BasePage||This class is the base for all pages in the application and contains common logic for encrypting and decrypting query strings, setting menus, etc. This class is built in this chapter and extended in future chapters.|
|PaidTimeOffUI: App_Code\BaseEditPage ...|