Hi all, I have one requirement when we save any generated PDF it's taking the name of page but I want to give the specific name. I have tried it with code change but no help, In Mozilla its working fine but in I.E. its not working , Any one face the issue before please help me. Code :
But now report is not opening in browser, Can't we do something in inline only ??? Because I need to open the report in browser . and need the specific file name also ??
Thanks again for the reply , I got you,, But I want to save the pdf after showing into the browser which can be possible by inline. than user can save the pdf if he/she want to save it.
Or any other way to get my requirment done. Please help me ???
None
0 Points
8 Posts
How to Save the PDF by Specific name in I.E
Sep 16, 2013 04:00 AM|raman123agrawal|LINK
Hi all,
I have one requirement when we save any generated PDF it's taking the name of page but I want to give the specific name. I have tried it with code change but no help,
In Mozilla its working fine but in I.E. its not working , Any one face the issue before please help me.
Code :
SSRS vb.net
Participant
1700 Points
393 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 16, 2013 04:12 AM|bmwz9|LINK
Replace
With
SSRS vb.net
--------------------------------------
Please remember to click “Mark as Answer” on the post(s) which helps you !
None
0 Points
8 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 16, 2013 05:38 AM|raman123agrawal|LINK
Thanks for the reply,
But now report is not opening in browser, Can't we do something in inline only ??? Because I need to open the report in browser . and need the specific file name also ??
Regards
Raman
SSRS vb.net
Participant
1700 Points
393 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 16, 2013 06:51 AM|bmwz9|LINK
Let's clarify the difference between inline and attachment
if inline browser will first try to open the file for ex. if browser have pdf reader it will open by reader else it will open file save dialogue
if attachment browser will be forced to open file save dialogue
http://stackoverflow.com/questions/1395151/content-dispositionwhat-are-the-differences-between-inline-and-attachment
http://dotanything.wordpress.com/2008/05/30/content-disposition-attachment-vs-inline/
SSRS vb.net
--------------------------------------
Please remember to click “Mark as Answer” on the post(s) which helps you !
None
0 Points
8 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 16, 2013 07:23 AM|raman123agrawal|LINK
Thanks again for the reply , I got you,, But I want to save the pdf after showing into the browser which can be possible by inline. than user can save the pdf if he/she want to save it.
Or any other way to get my requirment done. Please help me ???
FYI :: I must have use I.E only
Regard
Ambivert
SSRS vb.net
Participant
1700 Points
393 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 16, 2013 09:08 AM|bmwz9|LINK
Which pdf addon in browser do you have? I think there is a button to save pdf in addon
SSRS vb.net
--------------------------------------
Please remember to click “Mark as Answer” on the post(s) which helps you !
All-Star
30411 Points
3628 Posts
Re: How to Save the PDF by Specific name in I.E
Sep 18, 2013 07:02 AM|Fuxiang Zhang - MSFT|LINK
Hi,
I’m glad to you post the issue to asp.net forum.
What I understand from your description is that you want to show the pdf inline in IE. And save it as the user want to.
For this issue, we need to set the content-disposition and content-type headers of response.
Others have provided some practicable solutions in below link.
http://stackoverflow.com/questions/859815/make-pdf-display-inline-instead-of-separate-acrobat-reader-window
http://forums.asp.net/p/1036628/1436084.aspx
Hope this helps, thanks.
Best Regards!
SSRS vb.net