Given that the Web Author Console recognizes seven different Web Author context modes, we need to know how it is able to show different sets of controls for each mode. To understand this better, we need to look at how the Web Author Console is constructed.
The Web Author Console consists of three basic building blocks:
The Console Object
Site Mode Containers
Action/Status Controls
These blocks are packaged neatly into a single Web User Control, the Default Console. A good place to begin our study of the Web Author Console is to look at the copy of the Default Console that we made earlier. Open CustomConsole.ascx
file in Visual Studio.NET and view its HTML code. Identify the basic blocks that make up the Default Console as you work through this section.
The Console Object
The Console object is the parent block that marks the beginning and end points of the Web Author Console. There are two types of Console objects: