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?
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
is working on a reply...