Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello!
I try to use the dictionary in my partial view but I'm missing the namespace I think. I got the error "The type or namespace name 'GetDictionaryValue' does not exist in the namespace 'Umbraco' "
Here's my code :
@model IPublishedContent @using Umbraco.Web.UI <div class="blogCategory"><span>@Model.name</span>@Umbraco.GetDictionaryValue("test")</div>
Thanks in advance!
Hello
Use this code:
@inherits Umbraco.Web.Mvc.UmbracoViewPage @using Umbraco.Web.UI <div class="blogCategory"><span>@Model.name</span>@Umbraco.GetDictionaryValue("test")</div>
Thanks! :')
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using dictionary in @model IPublishedContent
Hello!
I try to use the dictionary in my partial view but I'm missing the namespace I think. I got the error "The type or namespace name 'GetDictionaryValue' does not exist in the namespace 'Umbraco' "
Here's my code :
Thanks in advance!
Hello
Use this code:
Thanks! :')
is working on a reply...