I have the following column in a GridView
, and my problem is that it only renders the text "Download", not a URL.
<asp:HyperLinkField DataNavigateUrlFields="ArchiveLocation" Text="Download" DataNavigateUrlFormatString="{0}" />
When I bind a DataTable
with one row to the grid, the ArchiveLocation
in that row contains the value:
"~/Common/Forms/ExportStream.aspx?path=C:\Development\Chase\Exports\ChaseExport-090312073930.zip".