I have the following in my XSLT:
<a>
<xsl:attribute name="href">
<xsl:value-of select="concat($DownloadPath,FilePath)" />
</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<img src="Content/Images/download.jpg" style="border-width:0px;">
<xsl:attribute name="title">
<xsl:value-of select="FilePath" />
</xsl:attribute>
</img>
</a>
On my homecontroller I have an action GetFile(string file) which should return the file when the Href is clicked.
How can I achieve this? I have been looking at different solutions already but nothing seems to work.