|
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.aspxI 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.
|
|
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.aspxWe 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.aspxOnce 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!
|
|
Rank: Newbie Groups: Member
Joined: 4/11/2011 Posts: 6
|
Thanks for the feedback. I'll take a look
|
|
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?
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 4/11/2011 Posts: 6
|
Thank You.
|
|