ComponentOne SuperPanel for ASP.NET AJAX: C1SuperPanel Elements > Content Element

Content Element

The main part of the C1SuperPanel control is the content area. The content area is a panel.

In the content area you can add rich text through custom HTML content and add arbitrary controls through its content template. Elements in the content area of the control can be added and moved on the control through a simple drag-and-drop operation.

C1SuperPanel includes the following property to make it simple to add and customize any type of item such as text, images and arbitrary controls to the content area:

      ContentTemplate

The following image labels the content area in the C1SuperPanel control:

 

 

You can enter text in the content area of the SuperPanel at design time. When you enter text into the content area, C1SuperPanel adds a <ContentTemplate> tag inside the <cc1:C1SuperPanel> tag like the following:

 

<cc1:C1SuperPanel ID="C1SuperPanel1" runat="server"VisualStylePath="~/C1WebControls/VisualStyles">

            <ContentTemplate>

                This is where the content information is placed.

            </ContentTemplate>

        </cc1:C1SuperPanel>

For more information about creating a content template, see the topic Creating a Content Template.


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