Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kiran 17 posts 109 karma points
    Feb 09, 2021 @ 10:11
    Kiran
    0

    Hi

    Could you please somebody help me to achieve the below code in umbraco 8

    enter image description here

  • AddWeb Solution Pvt. Ltd 109 posts 360 karma points
    Feb 10, 2021 @ 04:58
    AddWeb Solution Pvt. Ltd
    0

    Hello Kiran,

    You can either make sure Umbraco.Core.Models is listed in the namespaces within Views, reference it directly in the your .cshtml file at the top by doing "@using Umbraco.Core.Models". Also there may have a temporary file in app data which might not contain the correct using statement, which can trigger the error.

Please Sign in or register to post replies

Write your reply to:

Draft