The RelatedContent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RelatedContent |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
(Overrides BasePart..::..ApplyChanges()()()().)Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
DataBind |
Binds and formats related content for display in the main list view control.
(Overrides Control..::..DataBind()()()().) |
|
lvItems_OnItemDataBound | ||
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
ParseTemplateTags |
Parse the data for display using the template.
|
|
SetRelationshipData |
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 | |
---|---|---|
labTitle |
labTitle control.
|
|
lvItems |
lvItems control.
|
|
pager |
pager control.
|
|
plhTitle |
plhTitle control.
|
|
pnlContainer |
pnlContainer control.
|
|
scriptManagerProxy |
scriptManagerProxy control.
|
Properties
Name | Description | |
---|---|---|
BlogPostUrl |
String that is used to format the URL for displaying a single blog post
|
|
CssClass |
Gets or sets the related content container CSS class.
|
|
DateFormatString |
Date format string.
|
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
MaxContentChars |
Maximum number of characters in the content. If set to zero, content is not limited.
|
|
NewsReadMorePageUrl |
Gets or sets the news read more page url.
|
|
Pager |
Gets pager control.
|
|
PageSize |
Pager page size.
|
|
PagingEnabled |
Indicates if paging is enabled in the related content module.
|
|
ParentEntityId |
ID of the parent entity (wall note, picture, etc.) for which to show related content.
|
|
ParentEntityType |
Enum that describes the parent entity type (note, file, album, custom, etc.).
|
|
PhotoListUrl |
URL of the photo list page.
|
|
PhotoListUrlPattern |
URL pattern of the photo list page.
|
|
RelatedContentTitle |
Gets or sets the title of the module.
|
|
RelatedContentTitleVisible |
Gets or sets the title of the module.
|
|
TemplatedControl |
Templated list view that is used for rendering the "repeatable" section of this control.
|
|
UserProfileUrl |
URL of the user profile page. If empty, a postback is performed to the same page.
|
|
ViewFilePageUrl |
ID of the file view page that is used to display full size photos.
|