<CSControl:TemporaryRssFeedList />
List control providing access to TemporaryRssFeed objects.
Properties/Attributes
| Property |
Type |
Description |
| AdPlacement |
AdPlacementOptions Enumeration |
Gets or sets the option defining how to display the AdTemplate in this list.
| Option |
Type |
Description |
| PreSecond |
Enumeration Value |
Before the second item in the list.
|
| PreSecondAndLast |
Enumeration Value |
Before the second item and after the last item in the list.
|
| Seperator |
Enumeration Value |
Between each item.
|
| AlternatingSeparator |
Enumeration Value |
Between every other item.
|
| PreFooter |
Enumeration Value |
After the last item in the list.
|
| None |
Enumeration Value |
Ads should not be rendered.
|
|
| AlternateListItemCssClass |
String |
Gets or sets the alternate list item CSS class.
|
| ContainerId |
String |
The ID of the tag wrapping this control
|
| ControlIdsToHideWhenNotVisible |
String |
Gets or sets the control ids to hide when this list is not visible.
|
| CssClass |
String |
CSS class of the tag wrapping this control
|
| DataSource |
Object |
Gets or sets the data source of the control to render.
|
| FeedCacheSeconds |
Integer |
Gets or sets the feed cache duration (in seconds).
|
| HeaderCssClass |
String |
Gets or sets the header CSS class.
|
| HeaderResourceFile |
String |
Gets or sets the header resource file containing the header resource text.
|
| HeaderResourceName |
String |
Gets or sets the name of the header resource text.
|
| HeaderTag |
WrappedControlTag Enumeration |
Gets or sets the list header tag.
| Option |
Type |
Description |
| Acronym |
Enumeration Value |
|
| B |
Enumeration Value |
|
| Blockquote |
Enumeration Value |
|
| Caption |
Enumeration Value |
|
| Center |
Enumeration Value |
|
| Dd |
Enumeration Value |
|
| Div |
Enumeration Value |
|
| Dl |
Enumeration Value |
|
| Dt |
Enumeration Value |
|
| Em |
Enumeration Value |
|
| H1 |
Enumeration Value |
|
| H2 |
Enumeration Value |
|
| H3 |
Enumeration Value |
|
| H4 |
Enumeration Value |
|
| H5 |
Enumeration Value |
|
| H6 |
Enumeration Value |
|
| I |
Enumeration Value |
|
| Li |
Enumeration Value |
|
| Ol |
Enumeration Value |
|
| Ul |
Enumeration Value |
|
| P |
Enumeration Value |
|
| Small |
Enumeration Value |
|
| Span |
Enumeration Value |
|
| Strike |
Enumeration Value |
|
| Strong |
Enumeration Value |
|
| Sub |
Enumeration Value |
|
| Sup |
Enumeration Value |
|
| U |
Enumeration Value |
|
| Td |
Enumeration Value |
|
| Th |
Enumeration Value |
|
| Label |
Enumeration Value |
|
| Fieldset |
Enumeration Value |
|
| Legend |
Enumeration Value |
|
| Unknown |
Enumeration Value |
|
|
| HeaderText |
String |
Gets or sets the header text for the list.
|
| ID |
String |
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
|
| ItemsPerRow |
Integer |
Gets or sets the items per row. After this number of items, the RowSeparatorTemplate will be rendered. If 0, the RowSeparatorTemplate will not be rendered.
|
| ListCssClass |
String |
Gets or sets the list CSS class.
|
| ListItemCssClass |
String |
Gets or sets the list item CSS class.
|
| ShowHeaderFooterOnNone |
Boolean |
Gets or sets a value indicating whether to show the HeaderTemplate and TrailerTemplate when no items are bound to this list.
|
| Tag |
WrappedControlTag Enumeration |
The WrappedControlTag of the tag wrapping this control
| Option |
Type |
Description |
| Acronym |
Enumeration Value |
|
| B |
Enumeration Value |
|
| Blockquote |
Enumeration Value |
|
| Caption |
Enumeration Value |
|
| Center |
Enumeration Value |
|
| Dd |
Enumeration Value |
|
| Div |
Enumeration Value |
|
| Dl |
Enumeration Value |
|
| Dt |
Enumeration Value |
|
| Em |
Enumeration Value |
|
| H1 |
Enumeration Value |
|
| H2 |
Enumeration Value |
|
| H3 |
Enumeration Value |
|
| H4 |
Enumeration Value |
|
| H5 |
Enumeration Value |
|
| H6 |
Enumeration Value |
|
| I |
Enumeration Value |
|
| Li |
Enumeration Value |
|
| Ol |
Enumeration Value |
|
| Ul |
Enumeration Value |
|
| P |
Enumeration Value |
|
| Small |
Enumeration Value |
|
| Span |
Enumeration Value |
|
| Strike |
Enumeration Value |
|
| Strong |
Enumeration Value |
|
| Sub |
Enumeration Value |
|
| Sup |
Enumeration Value |
|
| U |
Enumeration Value |
|
| Td |
Enumeration Value |
|
| Th |
Enumeration Value |
|
| Label |
Enumeration Value |
|
| Fieldset |
Enumeration Value |
|
| Legend |
Enumeration Value |
|
| Unknown |
Enumeration Value |
|
|
| Visible |
Boolean |
Gets or sets whether this control should be rendered. If set to false, the control will not render.
|
Inner Properties
<DisplayConditions>...</DisplayConditions>
Defines required conditions that must be met to display this control
<QueryOverrides>...</QueryOverrides>
Overrides from the default implicit query
| Property/Attribute |
Type |
Description |
| CustomFeedUrlList |
String |
Gets or sets the comma-separated list of feed URLs to retrieve when the QuerType is ForCustomFeedUrlList.
|
| ID |
String |
Gets or sets the programmatic ID of the control. This ID can be used as a reference by other controls.
|
| PageIndex |
Integer |
Gets or sets the index of the page of objects to display. This value is overridden when a PagerID is specified.
|
| Pager |
IPager |
Gets or sets the IPager control used to control the current PageIndex.
|
| PagerID |
String |
Gets or sets the ID of the IPager control to use to control the current PageIndex.
Any Pager control can be referenced. See a list of Pager controls.
|
| PageSize |
Integer |
Gets or sets the number of objects to show on a single page.
|
| QueryType |
TemporaryRssFeedQueryType Enumeration |
Gets or sets the type of this query; the generic location/relationship from which data will be retrieved.
| Option |
Type |
Description |
| ForCurrentUser |
Enumeration Value |
Retrieves RSS feeds defined in the current user's profile.
|
| ForAccessingUser |
Enumeration Value |
Retrieves RSS feeds defined in the accessing user's profile.
|
| ForCustomFeedUrlList |
Enumeration Value |
Retrieves RSS feeds defined by a custom list of feed URLs.
|
|
| Visible |
Boolean |
Gets or sets whether this control should be rendered. If set to false, the control will not render.
|
Formatting Templates
<AdTemplate>...</AdTemplate>
The template that is used to display an advertisment
<AlternatingItemTemplate>...</AlternatingItemTemplate>
Template to be rendered for every second item in the list.
<FooterTemplate>...</FooterTemplate>
Template to be rendered after all items in the list.
<HeaderTemplate>...</HeaderTemplate>
Template to be rendered before all items in the list.
<ItemTemplate>...</ItemTemplate>
Template to be rendered for every item in the list. If an AlternatingItemTemplate is also defined, the ItemTemplate will be used for every odd-numbered item only.
<LeaderTemplate>...</LeaderTemplate>
Template to be rendered before the content of the control, if the control is rendered.
<NoneTemplate>...</NoneTemplate>
The template that is used to define what is displayed when no items are found.
<RowSeparatorTemplate>...</RowSeparatorTemplate>
The template that is used to render the separator between rows
<SeparatorTemplate>...</SeparatorTemplate>
Template to be rendered between every item in the list.
<TrailerTemplate>...</TrailerTemplate>
Template to be rendered after the content of the control, if the control is rendered.
Example
The following is a simple/minimal example of the <CSControl:TemporaryRssFeedList /> control:
<CSControl:TemporaryRssFeedList runat="server" />
The following example shows all of the configurable options of the <CSControl:TemporaryRssFeedList /> control:
<CSControl:TemporaryRssFeedList
AdPlacement="..."
AlternateListItemCssClass="..."
ContainerId="..."
ControlIdsToHideWhenNotVisible="..."
CssClass="..."
FeedCacheSeconds="..."
HeaderCssClass="..."
HeaderResourceFile="..."
HeaderResourceName="..."
HeaderTag="..."
HeaderText="..."
ID="..."
ItemsPerRow="..."
ListCssClass="..."
ListItemCssClass="..."
ShowHeaderFooterOnNone="..."
Tag="..."
Visible="..."
runat="server">
<AdTemplate>
...
</AdTemplate>
<AlternatingItemTemplate>
...
</AlternatingItemTemplate>
<DisplayConditions>
...
</DisplayConditions>
<FooterTemplate>
...
</FooterTemplate>
<HeaderTemplate>
...
</HeaderTemplate>
<ItemTemplate>
...
</ItemTemplate>
<LeaderTemplate>
...
</LeaderTemplate>
<NoneTemplate>
...
</NoneTemplate>
<QueryOverrides
CustomFeedUrlList="..."
ID="..."
PageIndex="..."
PagerID="..."
PageSize="..."
QueryType="..."
Visible="..."
/>
<RowSeparatorTemplate>
...
</RowSeparatorTemplate>
<SeparatorTemplate>
...
</SeparatorTemplate>
<TrailerTemplate>
...
</TrailerTemplate>
</CSControl:TemporaryRssFeedList>
See Also
Single value control that provides access to TemporaryRssFeed data and links.
List control providing access to TemporaryRssFeed objects.
Condition control that provides support for comparing two properties of a TemporaryRssFeed object.
Condition control that provides support for comparing a property of a TemporaryRssFeed object to a static value.