on 02-13-2009 3:29 PM
Hello,
*Is it possible to allow the user to save the generated pdf right away instead of having them download first. (download option opens the PDF in a new window, and firefox 3.06 crashes upon opening the pdf).
One more issue is, can we control the View based on browser. If user opens in firefox, I have to hide button and enable a link to save the PDF (as requested above * ).
Currently I am using this code:
// Open the resource to save or in new browser
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(res.getUrl(WDFileDownloadBehaviour.AUTO.ordinal()),
res.getResourceName());
This works fine in IE 6.0.
Thanks
Srinivas
WDFileDownloadBehaviour.ALLOW_SAVE instead of AUTO should do the job
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.