Save As Default

Save As Default

Forum member · Jun 14, 2010
hello, i am using the DrawToWeb() method to display the pdf in the pdf viewer. what i am curious, can i default the save as for the pdfviewer? it seems to default to the aspx page i have. i've tried to change the title of the aspx page on the fly but since i am using the visible=false, it is ignoring all that and sticks to the page name. any ideas on how to do this? michael jones motorola

Re: Save As Default

Support · Jun 14, 2010
Hello Michael, The filename you are passing to the DrawToWeb method will be effective only if the document is to be downloaded: public Void DrawToWeb(Page page, String downloadAsFileName) public Void DrawToWeb(Page page, String downloadAsFileName, Boolean forceDownload) The String that you pass into the DrawToWeb is used only if a user right clicks on the link to your PDF and does a "Save Target As..." or if you force the user to download the file by setting the ForceDownload to true. But other than that you can not control the name of the file when saving it in acrobat. Thanks, ceTe Software Support Team