Copied to clipboard

Flag this post as spam?

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


  • ThomasBrunbjerg 90 posts 182 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 1554 posts 6205 karma points MVP 6x 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.

Please Sign in or register to post replies

Write your reply to:

Draft