Table of Contents


aspx:ArticlePostList

This web control allows you to query the data from the database, but leave the UI to the widget, the widget will display a list of posts for you.

<aspx:articlePostList runat='server' dataSource='<%# DataBag.Posts %>'/>

 

Properties

PropertyDescription
DataSourceA list of Article Posts
MaxSummaryWordsThe post's summary is limited to 380 characters.
Sometimes it may be too long for the layout. Use this attribute to limit the maximum number of words that can be displayed.
SizeHow many recent articles are shown, a number between 1 and 20. The default is: 10.
ShowCommentsTrue/false, whether the component should display a number of comments or not. Default: false.
ShowRatingTrue/false, whether the component should display ratings of the post or not. Default: false.
ShowEnclosureTrue/false, whether the component should display the post enclosure or not. Post enclosure can be a picture or video. Default: false.
ShowSummaryTrue/false, whether the component should display post's summary information or not. Default: true.
ShowDateTrue/false, whether the component should display the date post was published on or not. Default: true.