jonas-asenmarketing
-
7/28/2011 3:39:43 PM
Retaining File Extensions
Hello, I have a custom document that contains an attached .mp3 file. When I render a link to the file in my transformation using GetFileUrl it displays with the .aspx extension. I need it to retain the .mp3 extension. Below is my workaround. Is there a better way to do this?
<a href="/getattachment/<%# Eval("ArtistSong1File") %>/<%# Eval("DocumentName") %>.mp3"><%# Eval("ArtistSong1Name") %></a>
Thanks, Jonas Tankersley
|