ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1ListExtender / C1ListExtender Tutorial / Step 2 of 3: Customizing the List
In This Topic
    Step 2 of 3: Customizing the List
    In This Topic

    In this topic you will set some of the properties for the C1ListExtender.

    1. In the Visual Studio Properties window, click the drop-down list at the top of the Properties window and select C1ListExtender.
    2. Set the C1ListExtender.AutoSize property to True.
    3. Set the C1ListExtender.MaxItemsCount property to 3.
    4. Set the Theme property to rocket. The markup for the C1ListExtender will now look like this:

    <cc1:C1ListExtender ID="Panel1_C1ListExtender" runat="server"

            TargetControlID="Panel1" AutoSize="True" MaxItemsCount="3">

            <ListItems>

                <cc1:ListItem Label="Label1" Value="Value1" />

                <cc1:ListItem Label="Label2" Value="Value2" />

                <cc1:ListItem Label="Label3" Value="Value3" />

                <cc1:ListItem Label="Label4" Value="Value4" />

                <cc1:ListItem Label="Label5" Value="Value5" />

                <cc1:ListItem Label="Label6" Value="Value6" />

          </ListItems>

        </cc1:C1ListExtender>

    Now run the project to see the formatted list.