Download File Button
Hi, I have a toolbar button which has to download a file once the user clicks on it.
Do you have any suggestions about how to do that? I can't use a FormPanel because no additional information is needed, and I can't add an hyperlink to a button with the servlet url (or maybe I don't know the way to do that if it is possible)
Thanks in advance.
Well, you can do it 2 ways:
1 - Open the download url in a new Window, with window.open
2 - Set the url to a hidden iframe...
Tags for this Thread