ComponentOne Accordion for ASP.NET AJAX: C1Accordion Elements > Content Area

Content Area

The C1AccordionPane's content area is initially empty. You can add images, rich text through custom HTML content, URL links through the ContentUrl property, and arbitrary controls such as buttons and labels. Elements in the content area of the control can be added and moved there through a simple drag-and-drop operation.

 

 

You can add content to the control area of the C1AccordionPane at design time. Simply click the content area and begin typing, or add images or other elements as you would normally.

When you add content to the content area and switch to Source view, you will notice that the content appears inside <Content> tabs inside the <cc1:C1AccordionPane> tags:

<cc1:C1AccordionPane runat="server" ID="C1Accordion1Pane1"><Content>

    Content

</Content>

<Header>

    Header

</Header>

</cc1:C1AccordionPane>

You can also use the ContentUrl property to set external content to appear within the content area of the C1AccordionPane. For more information, see Displaying External Content.


Send comments about this topic to ComponentOne.
Copyright ©ComponentOne LLC. All rights reserved.