I actually copy pasted it from another solution I made where it works. So my theory is right now that its how I created the uComponent Data type that makes the problem, cause the script saves well and its only when I refer to the specific datatype, an error on frontend is thrown.
Ive have set it to "XML" on the datatype and database type as "nText".
@{ foreach (var link in Model.NodeById(1073).bottomMenu.urlpicker) { <li><a href="@link.url"@Html.Raw(link.newwindow =="True"?"target=\"_blank\"":"")>@link.linktitle</a></li> } }
Multi URL-picker with Razor
Hi there
Can anybody tell me why this does not work:
I actually copy pasted it from another solution I made where it works. So my theory is right now that its how I created the uComponent Data type that makes the problem, cause the script saves well and its only when I refer to the specific datatype, an error on frontend is thrown.
Ive have set it to "XML" on the datatype and database type as "nText".
is working on a reply...