This control provides your Web application with the edge-to-edge navigation style that you see in most native iPhone applications. When this control is placed inside the content area of the C1ViewPort control, the C1ViewPort's navigation bar will automatically be updated as you switch pages.
C1NavigationList provides for a rich set of elements that allows you to:
• Specify how the list is rendered: as a SimpleList or RoundedCornerList (see C1NavigationList Rendering).
• Group items with an optional group title.
• Customize list item types (see Adding Navigation List Items to the C1NavigationList Control).
• Modify templates (see C1NavigationList Templates).
• Load on demand. As the control is being navigated, only the current page is retrieved from the server. This greatly reduces the initial load size of your Web application.
Adding a C1NavigationList Control to a Project
You can add a C1NavigationList control to your project through the Visual Studio 2008 Toolbar by double-clicking the control or by dragging it onto your page using a drag-and-drop operation. You can also add it using the following XHTML markup:
<cc1:C1NavigationList ID="C1NavigationList1" runat="server">
</cc1:C1NavigationList>
For information on adding the C1NavigationList control to a C1ViewPort control, see Adding a C1NavigationList control to a C1ViewPort control. For task-based help concerning the C1NavigationList control, see Using the C1NavigationList Control.
The other topics in this section provide in-depth information regarding navigation list items, navigation list templates, and navigation list types: