Copied to clipboard

Flag this post as spam?

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


  • ThomasBrunbjerg 86 posts 178 karma points
    Aug 17, 2017 @ 11:27
    ThomasBrunbjerg
    0

    Compilation error when getting image from IEnumerable<IPublishedContent>

    I have this partial view where I am trying to get one images from a multiple media picker property. When i run the page i receive this error:

    http://i.imgur.com/PZTCVXv.png

    I am unsure what I need to do to fix this. Is this the right approach to get an image displayed from the media picker?

  • Dan Diplo 1505 posts 5911 karma points MVP 4x c-trib
    Aug 17, 2017 @ 15:23
    Dan Diplo
    0

    It's the same answer as for your previous similar issue - you need to wrap the query in brackets inside the href quotes.

    I'd suggest using Visual Studio community (free download) as you will get intellisense that will help you sport these errors.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies