In this step, you will add an C1AccordionExtender control to associate with the panel to create the accordion and set some of its properties.
-
Click the Panel smart tag and select Add Extender from the Panel Tasks menu.
-
In the Extender Wizard, select C1AccordionExtender and click OK. An AccordionExtender control is added to the page and the TargetControlID is set to Panel1.
<wijmo:C1AccordionExtender ID="Panel1_C1AccordionExtender" runat="server"
TargetControlID="Panel1">
</wijmo:C1AccordionExtender>
-
Select View | Properties Window in the Visual Studio menu.
-
Click the drop-down list at the top of the window and select Panel1_C1AccordionExtender.
-
Next to the ExpandDirection property, click the drop-down arrow and select Right.
-
Next to the Theme property, select midnight.
-
In the next step you will set the expand event with wijaccordion.