response.addheader("contentdisposition","attachment;filename="+san+".pdf") i am getting a dialog box with options asking me whether to(save,cancel,open)... but above in the above code in place of attachment if i am using "inline"
the dialog box is not comming and pdf is generated... but not the separate one it is attached with my form.
i want a separate pdf file to open not with my UI form from where i am clicking the button to get pdf.
Santosh Kuma...
Member
8 Points
14 Posts
how to download a pdf file without a dialog box(asking for save,open,cancel)
Jan 25, 2012 10:52 AM|LINK
hiiii
response.addheader("contentdisposition","attachment;filename="+san+".pdf") i am getting a dialog box with options asking me whether to(save,cancel,open)... but above in the above code in place of attachment if i am using "inline"
the dialog box is not comming and pdf is generated... but not the separate one it is attached with my form.
i want a separate pdf file to open not with my UI form from where i am clicking the button to get pdf.
it should be separate pdf with no dialog boxes...
can anyone guide me.....
Jack Hunt
Participant
1270 Points
713 Posts
Re: how to download a pdf file without a dialog box(asking for save,open,cancel)
Jan 25, 2012 01:08 PM|LINK
You can use hyperlink and set it properties(target="_blank")
than copy the pdf
mit's Website
Mitesh N Vaishnav