Ektron CMS400.NET API Documentation
|
The ContentList server control is used to display a list of content blocks on a Web page. In contrast to a List Summary, where content must be in a specified folder, the ContentList server control uses content from any CMS400.NET folder.
[DefaultProperty("ContentIds"), ToolboxData("<{0}:ContentList runat=server></{0}:ContentList>")] public class ContentList : EkXsltWebPart, IEnumerator, IEnumerable, IListSource, IDataSource, ICallbackEventHandler;
<DefaultProperty("ContentIds"), ToolboxData("<{0}:ContentList runat=server></{0}:ContentList>")> Public Class ContentList Inherits EkXsltWebPart Inherits IEnumerator Inherits IEnumerable Inherits IListSource Inherits IDataSource Inherits ICallbackEventHandler
ContentList.cs
Name |
Description |
The methods of the ContentList class are listed here. | |
The properties of the ContentList class are listed here. |
|
Name |
Description |
|
Copies all the elements of the current System.Data.InternalDataCollectionBase to a one-dimensional System.Array, starting at the specified System.Data.InternalDataCollectionBase index. | |
|
Populates the data for the ContentList. | |
|
Gets a System.Collections.IEnumerator for the ContentList. | |
|
This method returns the ContentList RSS feed. | |
|
Move to next index. | |
|
Resets the index. | |
|
Returns the current ContentItem.ContentRow. | |
|
Overrides the system ToString function. | |
|
Wrap the Html toolbar. |
|
Name |
Description |
|
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred). | |
|
The comma separated list of content IDs you wish to display. | |
|
Indicates the number of elements in your ContentList. | |
|
Gets the current index. | |
|
Gets or Sets the Default ContentID for this Control. | |
|
Direction for sorting results, "ascending" or "descending". | |
|
Gets or Sets the QueryString parameter to read a Content ID dynamically. Set to String.Empty if you wish to always display the default ContentID (static.) | |
|
Returns the array of ContentBase. | |
|
If set to true, retrieves the content (Html body) of every content block in the content list for display. | |
|
Determines whether or not to display an icon next to your navigation lists. NOTE: Only works with ecmSummary and ecmTeaser. | |
|
Gets a value indicating whether the System.Data.InternalDataCollectionBase is synchronized. | |
|
Determines the type of window that appears on this Web form when a user clicks an item in the breadcrumb trail. The default is _self.
| |
|
Enter name of a markup file that manages the display of this server control. | |
|
Gets or Sets the meta tag value. Once this value is set, associated content(s) will be listed. | |
|
Determines how to order content in the list. The sort field is determined by the OrderKey property.
When ascending is selected and the Orderkey property is set to OrderOfTheIds, the order of the IDs are preserved. When set to descending, the order is reversed. | |
|
Sort the list by one of these values:
| |
|
Set to True if you want to randomly display one content block link from the content list. The content changes each time a user views the page.
| |
|
Suppresses the output of span/div tags around the control. | |
|
Gets an object that can be used to synchronize the ContentList. | |
|
Returns the Xml object loaded for ContentList. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|