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" %>
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important