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.
Use this procedure when you have hierarchical dynamic content types and, instead of using the generated widgets to display the hierarchy, you want to use only the parent widget template.
This allows you to keep your markup on a single place without the need to modify multiple widget templates. For example, you can display the hierarchy Country » City » Hotel using the following widget template:
Eval("Cities") returns all child cities, of the current country, that are visible and with status Live. Using eval methods within city’s repeater give you access to city’s properties - Eval("Name").
Eval("Hotels") – returns all hotels in the current city.
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