Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Aug 25, 2015 @ 08:29
    Damon
    0

    Creating link to file using Umbraco.Media .Url - works for image but fails for pdf

    Hi,

    I am creating links to files using @Umbraco.Media(Model.MacroParameters["field"]).Url

    When the media item is an image, the link works.

    When the media item is a pdf file, I get an error - Error loading Partial View script

    Thanks a lot!

Please Sign in or register to post replies

Write your reply to:

Draft