The BaseNewsModule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BaseNewsModule |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ApplyChanges |
Apply web part property changes.
(Overrides BasePart..::..ApplyChanges()()()().) |
|
BindNews |
Binds news.
|
|
ClearNewsFilter |
Clears news filter.
|
|
ClearNewsPrefetch |
Clears news Prefetch.
|
|
ClearNewsSorter |
Clears news sorter.
|
|
GetDateString(Boolean, Nullable<(Of <<'(DateTime>)>>), String) |
Gets the formatted date string.
|
|
GetDateString(Boolean, Nullable<(Of <<'(DateTime>)>>), String, Boolean) |
Gets the formatted date string.
|
|
GetNewsData |
Gets news data.
|
|
GetRssChannel |
Gets the rss channel.
|
|
InitializeNewsItemUrl |
Initialize news item url.
|
|
InitNewsFilter |
Initializes news filter.
Note: To initialize news filter please set the following options: |
|
InitNewsHolder |
Initializes news holder control.
|
|
InitNewsModuleSettings |
Initializes news module settings.
|
|
InitPager |
Initializes a pager.
|
|
InitPagerHolder |
Initializes pager holder control.
|
|
ManageVerbs |
Manages news-related custom verbs.
(Overrides BasePart..::..ManageVerbs()()()().) |
|
NewsItemDataBound |
News item data bound.
|
|
OnInit |
On page init handler.
(Overrides BasePart..::..OnInit(EventArgs).) |
|
OnLoad |
On page load handler.
(Overrides BasePart..::..OnLoad(EventArgs).) |
|
pager_PageIndexChanged |
Pager index changed event.
|
|
ParseTemplateTags |
Formats the comment data for display using the template.
|
|
UpdateViewCount(NewsItemEntity) |
Updates view count.
|
|
UpdateViewCount(IEntityCollection2) |
Updates view count.
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
NewsTemplatesFolder |
News template folder.
|
|
pager |
News module pager.
|
|
rssChannel |
News rss channel.
|
Properties
Name | Description | |
---|---|---|
AvatarSize |
Gets or sets Avatar size - 1 to 80 for gravatars.
|
|
CategoryFilterId |
Gets or sets category filter for the news module (Defined by the personalization settings).
|
|
CategoryId |
Gets or sets selected news category id (Defined in the url query parameters).
Note: CategoryId is ignored if category filter is set
|
|
ContentSharingEnabled |
Gets or sets if Content Sharing is enabled.
|
|
CssClass |
Gets or sets CssClass for the news module.
|
|
CustomTags |
Gets or sets custom tags.
|
|
DataSource |
Gets the news module data source.
|
|
DateTimeFormat |
Gets or sets date time format.
|
|
EditRoles |
Array of Guids that identify the roles which are allowed to edit this part.
(Overrides BasePart..::..EditRoles.) |
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
ExternalReadMorePage |
Gets or sets external read more page
|
|
Filter |
Gets the main news filter container.
|
|
GravatarRenderType |
Type of the avatar to be rendered - if not set, the web.config settings are used.
|
|
IsEmpty |
Gets the flag if there are no news items according to the current filter.
|
|
IsNewsModulePlacedOnHomePage |
Gets or sets if news module place holder is home page
|
|
LongDateTimeFormat |
Gets or sets long date time format.
|
|
MaximumContentLength |
Gets or sets a maximum news content length.
|
|
MaximumShortContentLength |
Gets or sets a maximum news short content length.
|
|
ModuleType | ||
NewsHolderControl |
Gets or sets a news holder control.
|
|
NewsRepeatColumns |
Gets or sets news repeat columns.
|
|
NewsRepeatDirection |
Gets or sets news repeat direction.
|
|
NumberOfNewsItemsToShow |
Gets or sets the maximum number of news items that news module should show
Note: 0 is unlimited |
|
PagerPageSize |
Gets or sets the pager page size.
|
|
Prefetch |
Gets the main news sorter container.
|
|
RatingHistoryTemplatePath |
Gets or sets the rating history template path.
|
|
RatingSkin |
Gets or sets news module rating control default skin.
|
|
RatingTemplatePath |
Gets or sets the rating template path.
|
|
ReadMorePage |
Gets or sets the read more page
Note: If left blank news content is opened on same page
|
|
ReadMorePageTitle |
Gets or sets read more page Title.
|
|
ReadMorePageUrl |
Gets or sets read more page url
|
|
RssEnabled |
Gets or sets if Rss Engine should use this web part RSS channels.
|
|
ShowAllItems |
Gets or sets if news module should show all items, regardless of wheter they are expired or not.
|
|
ShowCategoryTitle |
Gets or sets if news module should show category title.
|
|
ShowCategoryTitleAsLink |
Gets or sets if news module should show category title as link.
|
|
ShowCreateDate |
Gets or sets if news module should show date of creation.
|
|
ShowCustomDate |
Gets or sets if news module should show custom date.
|
|
ShowFullCategoryPathway |
Gets or sets if news module should show full category pathway.
|
|
ShowIfEmpty |
Gets or sets module visibility if there is no news items .
|
|
ShowModificationDate |
Gets or sets if news module should show modification date.
|
|
ShowNewsFromSubCategories |
Gets or sets if news module should show news from category filter sub categories.
|
|
ShowPublishDates |
Gets or sets a value indicating whether publish dates should be visible.
|
|
ShowRating |
Gets or sets if news module should show rating.
|
|
ShowRatingHistory |
Gets or sets if news module should show rating history.
|
|
ShowRevision |
Gets or sets if news module should show revison number.
|
|
ShowShortContent |
Gets or sets if news module should show short content.
Note: If set to False full news content will be displayed.
|
|
ShowTitle |
Gets or sets if news module should show title.
|
|
ShowUsername |
Gets or sets if news module should show Username.
|
|
ShowViewCount |
Gets or sets if news module should show view count.
|
|
Sorter |
Gets the main news sorter container.
|
|
UserProfileUrl |
URL of the user profile page. If empty, a postback is performed to the same page.
|
|
UseTellAFriendProvider |
Gets or sets if Content Sharing Engine should use Tell a Friend as default provider (over the Add This provider).
|
Events
Name | Description | |
---|---|---|
RenderContentSharingItem |