Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Grid Click + Function

$
0
0
Re: Grid Click + Function
Web Connection 5.0
Re: Grid Click + Function
Apr. 16, 2013
01:23 pm
3RH0SOSTKShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:David Pedrelli
Sure you can put a button in the grid. You'll need some sort of ID and then just call:

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 ---


Hi,

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



Viewing all articles
Browse latest Browse all 10393

Trending Articles