I have a linkbutton called Download
The downloaded filename is in a datagrid column called uploadedfile. 
This uploaded filename varies, but the path stays the same
www.mydomain.com/synapse/data/7117/documents/#uploadedfile#

When the user selects a row in drivergrid, the driver details appear 
below the grid with a Download linkbutton.

When the user clicks the download button, I want the driver file to 
begin to download.

I don't know how to write the url below so that it binds the 
uploadedfile to the end of the url.

This doesn't work.

<mx:LinkButton label="Download" click="navigateToURL(new URLRequest
('http://www.mydomain.com/synapse/data/7117/documents/
{drivergrid.selectedItem.uploadedfile}'), 'Download')"/>

Will anyone help with the correct syntax?
Also, how would you do a url parameter in a similar way?

Thanks,
Don

Reply via email to