The problem I have is outputting the values inside the data type.
var steps = recipeContent.GetProperty("preparationSteps");
foreach (var row in steps)
{
}
error CS1579: foreach statement cannot operate on variables of type 'Umbraco.Core.Models.IPublishedProperty' because 'Umbraco.Core.Models.IPublishedProperty' does not contain a public definition for 'GetEnumerator'
U7 Grid Data Type - How to loop through rows
I have just taken over an umbraco project that is using U7 Grid Data Type package
https://our.umbraco.org/projects/backoffice-extensions/u7-grid-data-type
The problem I have is outputting the values inside the data type.
error CS1579: foreach statement cannot operate on variables of type 'Umbraco.Core.Models.IPublishedProperty' because 'Umbraco.Core.Models.IPublishedProperty' does not contain a public definition for 'GetEnumerator'
Any ideas?
is working on a reply...