Expression="HREF([MyDownloadFile.ext?id=412312],[Download])"
IOW, you just create a column that includes a link back to the server. The server side code can then run and do the DownloadFile() logic to actually serve the file.
+++ Rick ---
From: | Rick Strahl |
To: | David Pedrelli |
Expression="HREF([MyDownloadFile.ext?id=412312],[Download])"
IOW, you just create a column that includes a link back to the server. The server side code can then run and do the DownloadFile() logic to actually serve the file.
+++ Rick ---
I want to display a list of files in a grid, click a row, and call DownloadFile. The files are not accessible via the public Web site; therefore, a standard HREF won't work. Is it possible to put an HREF in a grid that calls a code behind function, passing a parameter? If not, is it possible to put a button in a grid?
Thanks,
David