on 12-02-2005 10:36 AM
Hi,
I'm using the webdynpro UI-Element IWDFileDownload. It works fine, but what I feel is really annoying is a blank browser-window which opens whenever the user clicks the file-download-link.
Is there a way to supress this blank window?
Thanks and regards
Jan Hempel
You might try to set the "target" property to "_self".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You probably already solved your issue - if not, I solved this by setting the attribute "behaviour":
IWDFileDownload fileDownload =(IWDFileDownload) elementListe[j];
fileDownload.setBehaviour(WDFileDownloadBehaviour.OPEN_INPLACE);
This makes the attachment open in the initially blank browser window.
Hi Armin,
using _self as target worked fine! Thanks a lot!
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What browser are you using?
And what mime type you set for download content?
For me setting application/sub-type (like application/zip or application/octet-stream) + setting "isAttachment" to true always forces the following behavior:
1. Browser opens blank window for a moment (target =_blank on FileDownload control)
2. Then it closes it immediately prompting for download with standard dialog
Works both in IE6 & Firefox.
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.