Changing the Navigation List Type

You can choose from two types of navigation lists: SimpleList and RoundedCornersList. By default, the list type is SimpleList. This topic illustrates how to change the navigation list type to a RoundedCornersList in Design view, in Source view, and in code. This topic assumes that you have created an AJAX-enabled ASP.NET project that contains a ScriptManager control (see Creating an AJAX-Enabled ASP.NET Project) and a C1NavigationList control.

In Design View

Complete the following steps:

1.   Right-click the C1NavigationList control to open its context menu and then select Properties from the list.

      The Properties window opens with C1NavigationList's properties in focus.

2.   Locate the NavigationListType property and set it to RoundedCornersList.

      The navigation list type changes to RoundedCornersList.

In Source View

To change the navigation list type, add NavigationListType="RoundedCornersList" to the <cc1:C1NavigationList> tag so that the XHTML markup resembles the following:

 

  <cc2:C1NavigationList ID="C1NavigationList1" runat="server" NavigationListType="RoundedCornersList">

In Code

Complete the following steps:

1.   Import the following namespace into your project:

      Visual Basic

      C#

2.   Set the NavigationListType property to RoundedCornersList by adding the following code to the Page_Load event:

      Visual Basic

      C#

3.   Save the project and open it in a Studio for iPhone-compatible browser.

 This Topic Illustrates the Following:

In this topic, you learned how to change the navigation list type to RoundedCornersList. The image below features a C1NavigationList with a rounded corners list. 

 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.