Welcome Guest Search | Active Topics | Sign In | Register

use downloader with file explorer Options
anonimity
Posted: Wednesday, January 11, 2012 6:54:54 AM
Rank: Newbie
Groups: Member

Joined: 1/11/2012
Posts: 1
how do you use downloader with file explorer??
eo_support
Posted: Wednesday, January 11, 2012 9:11:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I do not believe you can do that. The FileExplorer does not have built-in support for file downloading.

Thanks!
Ramy
Posted: Thursday, May 24, 2012 12:34:56 AM
Rank: Member
Groups: Member

Joined: 3/8/2011
Posts: 19
In the file explorer grid, i tried to convert the filename column from textbox to button and in the command event i called the javascript function that would download the file. Also specified the ClientSideonItemCommand of the grid. But this command event does not run.
Is there any work around for this
eo_support
Posted: Thursday, May 24, 2012 10:07:04 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

There is no way for you to do that in the current version. The FileExplorer handles ClientSideOnItemCommand, so whatever handler you set would be overriden by the FileExplorer. The only way you can do that is to use the FileExplorer to select the file (which gives you the Url), then use another button somewhere (I believe you can even put that button in the Grid) to download it once you have the Url.

If you need to put your button in the Grid, you can just put raw HTML like this in the Grid cell:

<a href="javascript:DownloadSelectedUrl()">Download</a>

You would then need to write the DownloadSelectedUrl function to trigger the download.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.