Copied to clipboard

Flag this post as spam?

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


  • Craig O'Mahony 364 posts 918 karma points
    Jun 14, 2013 @ 20:11
    Craig O'Mahony
    0

    Accessing media via media name

    Hi,

    I've got an issue where I need to access media items via the name of the item. Ie I've got a user control that I pass in a unique Id into, this id is used to pull some relative data back, it's also the name of a PDF that's stored somewhere in the media section of the site. So for instance if the unique Id is 12345 I need to some a graphic called 12345.png and link the image to 12345.pdf. Both of these (image and PDF) will have been uploaded to the media section of the site.

    Would anyone have any ideas of the best way of finding and referencing them on an asp.net page?

    thanks,

    craig

Please Sign in or register to post replies

Write your reply to:

Draft