I have an upload tool that I am using in my app where users
can upload a document. It then updates mydata grid with the updated
list of documents for that user. Does any one know of a way that
when they click on the file in the data grid it will open in the
application specifed in the extension. So for instance if it was a
.jpg it would open in an image viewer if it was a .doc it would
open in word
Generally you would just click a button that started the
download, and then your browser I beleive would let you choose?
Can’t remember, but thats really the only way to do it, unless you
are using AIR there might be some new way for a desktop app.
It may be possible to have the data grid make a call to an
that would trigger the browsers open or download logic if it doesnt
work that way in FB.
I did try and just use the download but it doesn’t prompt you
or anything of if you want to save or open it just downloads the
file to your select directory =/. Even if I could just do like an
onclick event on my datagrid to hit the URL of the document I think
that would work also just not sure how to do that.
Are there any ideas on how to do this?
I think the only way to do this would then be to have a
response to an ExternalInterface call, with a ‘Download/Open the
file’ button, which would trigger the file save/open dialog in your
- how to onclick open a pdf to print?
- Open Illustrator template file (open original) for editing?
- Download File/Open .pdf from Flex UI
- Download video file and open in media player
- Using OnClick and Open browser window
Related posts brought to you by Yet Another Related Posts Plugin.