@{
if (Model.HasValue("superHeros")){
<ul>
@foreach(var item in Model.SuperHeros) {
<li>@item</li>
}
</ul>
}
}
but getting the below error :
Compiler Error Message: CS1061: 'IPublishedContent' does not contain a definition for 'values' and no accessible extension method 'values' accepting a first argument of type 'IPublishedContent' could be found (are you missing a using directive or an assembly reference?)
Checkboxlist Umbraco 8
Hello,
How can i get the values from a checkboxlist please ?
Thanks,
Kusum
I have used the below :
} but getting the below error :
Solution:
This is definitely not in the documentation and really should be. But this worked for me.
is working on a reply...