IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Related data API gives the users the ability to display items related to a particular item on the frontend using the following extension method: public static IList GetRelatedParentItemsList(this object item, string parentItemsTypeName, string parentItemProviderName = null, string fieldName = null)
public static IList GetRelatedParentItemsList(this object item, string parentItemsTypeName, string parentItemProviderName = null, string fieldName = null)
The method is located in Telerik.Sitefinity.RelatedData namespace. The following code example of the Presentations widget template demonstrates how parent items can be displayed using a Repeater control:
NOTE: You must import namespace <%@ Import Namespace="Telerik.Sitefinity.RelatedData" %>
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important