I'm having trouble using the widget grid recursively.
Without recursion it's working fine, my code looks like this
var widgetGridContent = Model.Content.GetPropertyValue<IDictionary<string, IEnumerable<IPublishedContent>>>("sidebarWidgets");
foreach(var node in widgetGridContent["col1"]) {
I thought I only needed to add a "true" parameter for recursion, which would look like this.
var widgetGridContent = Model.Content.GetPropertyValue<IDictionary<string, IEnumerable<IPublishedContent>>>("sidebarWidgets", true);
foreach(var node in widgetGridContent["col1"]) {
Using widget grid recursively
I'm having trouble using the widget grid recursively.
Without recursion it's working fine, my code looks like this
I thought I only needed to add a "true" parameter for recursion, which would look like this.
Except, i'm not getting any results using this.
Am I missing anything here?
I'm on Umbraco 7.1.4
is working on a reply...