Content Element
The main part of the C1Window control is the content area.
In the content area you can add rich text through custom HTML content, URL links through its ContentUrl property, 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.
C1Window includes the following properties to make it simple to add and customize any type of item such as text, images, arbitrary controls, and links to the content area:
The following image labels the content area in the C1Window control:
You can use a style sheet to apply unique styles to the content in the C1Window control. For more information on the available styles, see Content Styles.
You can enter text in the content area of the dialog window at design time. When you enter text into the content area, C1Window adds a <ContentTemplate> tag inside the <cc1:C1Window> tag like the following:
<cc1:C1Window ID="C1Window1" runat="server" AllowResize="True" Height="150px" VisualStylePath="~/C1WebControls/VisualStyles" Width="300px" X="0" Y="0">
<ContentTemplate>
This is where the content information is placed.
</ContentTemplate>
...
</cc1:C1Window>
For more information about creating a content template, see the topic Creating a Content Template.
You can use the ContentUrl property to set external content to appear in the dialog window. For more information, see Showing External Content in the Content Area.
|