RssFeed Documented Class Library

RssFeedItem.DataItem Property

Gets or sets the data item represented by the RssFeedItem object in the RssFeed control.

public virtual Engine.RssItem DataItem {get; set;}

Remarks

Use the DataItem property to specify or determine the properties of a data item represented by the RssFeedItem object in the RssFeed control. Typically, you'll reference this property in the RssFeed's ItemTemplate or in the ItemCommand event handler.

Example

<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %> <skm:RssFeed runat="server" id="myFeed"> <ItemTemplate> <b>Title: </b> <%# Container.DataItem.Title %> </ItemTemplate> </skm:RssFeed>

See Also

RssFeedItem Class | skmRss Namespace