Welcome Guest Search | Active Topics | Sign In | Register

Using the Downloader With File Explorer Options
Josef
Posted: Monday, April 11, 2011 9:11:34 AM
Rank: Newbie
Groups: Member

Joined: 4/11/2011
Posts: 6
Hey.
I have a similar question to:
http://www.essentialobjects.com/forum/postst4596_Downloading-files-using-File-Explorer.aspx

I have a javascript function on the ClientSideOnFileSelected event.
My problem is:
1. I want to have the download button as part of the fe "menu" (next to the cancel upload button)
2. I do not know how ajax works, and i cant update the downloader's FilePath from my javascript function.

Please assist.
eo_support
Posted: Monday, April 11, 2011 9:37:50 AM
Rank: Administration
Groups: Administration

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

The FileExplorer does not have built-in downloading feature. If you wish to customize the layout of the FileExplorer, you can take a look of this topic:

http://doc.essentialobjects.com/library/1/fileexplorer/ui.aspx

We will only tell you that once ClientSideOnFileSelected occurs, you will be able to call this function to get the selected file path:

http://doc.essentialobjects.com/library/1/jsdoc.public.fileexplorer.getselectedfile.aspx

Once you have the file path, you will need to work out everything else (whether AJAX or not or how would be up to you).

Thanks!
Josef
Posted: Monday, April 11, 2011 9:41:07 AM
Rank: Newbie
Groups: Member

Joined: 4/11/2011
Posts: 6
Thanks for the feedback.
I'll take a look
Josef
Posted: Monday, April 11, 2011 9:55:34 AM
Rank: Newbie
Groups: Member

Joined: 4/11/2011
Posts: 6
Is there a way i can cause the ClientSideOnFileSelected event to fire in my code behind?
eo_support
Posted: Monday, April 11, 2011 10:11:07 AM
Rank: Administration
Groups: Administration

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

Not directly by the FileExplorer control. The ClientSideOnFileSelected event is a client side event and it will always be fired by the FileExplorer on the client side. However you are free to write additional code to trigger a server side event from your client side handling code.

Thanks!
Josef
Posted: Wednesday, April 13, 2011 5:07:22 AM
Rank: Newbie
Groups: Member

Joined: 4/11/2011
Posts: 6
Thank You.


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.