473,388 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

ReportViewer export to PDF = PDF[1].

Hi there,

I have the web version of the report viewer control stuffed into a webpage.
Everything works great except for the export to pdf option. When i choose
this option the document type is set to .pdf[1] instead of .pdf. Of course
when saved to the harddisk the file name is then "mypdfdoc.pdf[1]". So when
a user double clicks on it, it does not open because ".pdf[1]" is not
aregistered file type, and they subsequently complain that it's "broken"....
which i guess it is.

The work around is to "manually" set the doc type to "All Files" and type in
the save to document name as "mypdfdodc.pdf". Not to bad for you and me but
then this whole thing becomes a user support issue. So does anyone know how
to make it work as it "should" i.e. just .pdf not .pdf[1].

Thanks

Richard

Feb 25 '07 #1
1 7273
For anyone thats interested; the solution is quite basic;just set the
display name property of the report.

Richard

"Richard Coltrane" <rc@spamsux.comwrote in message
news:O2**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I have the web version of the report viewer control stuffed into a
webpage. Everything works great except for the export to pdf option. When
i choose this option the document type is set to .pdf[1] instead of .pdf.
Of course when saved to the harddisk the file name is then
"mypdfdoc.pdf[1]". So when a user double clicks on it, it does not open
because ".pdf[1]" is not aregistered file type, and they subsequently
complain that it's "broken".... which i guess it is.

The work around is to "manually" set the doc type to "All Files" and type
in the save to document name as "mypdfdodc.pdf". Not to bad for you and me
but then this whole thing becomes a user support issue. So does anyone
know how to make it work as it "should" i.e. just .pdf not .pdf[1].

Thanks

Richard

Feb 25 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Raghu | last post by:
I have developed a web portal that uses ReportViewer web control to connect to a remote SQL 2005 Report server and displays the reports on the client side. The asp.net page has been coded to...
0
by: PW | last post by:
Generated a report with the reportviewer control. The entire report is only 7inches wide and it renders properly in the web browser. But, when I export to PDF it becomes two pages. It takes...
4
by: Sevu | last post by:
I am working with ASP.NET.I am using ReportViwer Control to show my report.I like to add dropdownlist with in the reportviewer control. ( Not top to the control some thing like that).I need to...
2
by: SimeonArgus | last post by:
I have a reportViewer object looking at a remote report. The good news is that I can press the PDF or Print button, and the report coems out just fine. I can also go to the report URL directly, and...
0
by: =?Utf-8?B?UGV0ZXIgU2NobWl0eg==?= | last post by:
Hi, I just created my first application that uses the ReportViewer control. To use this control I created a Report that includes a table with four columns of different size. If I create the...
0
by: =?Utf-8?B?RGF2aWQgR2FyZG5lcg==?= | last post by:
I'm having issues with the reportviewer control. When viewing the regular report it works just fine. However, when an export to PDF or Excel is attempted and the load balancer sends the export...
4
by: =?Utf-8?B?SGVyYg==?= | last post by:
Using the WebForms.ReportViewer when I export to PDF, the margins of the report are too large. How can I change the margins of my report to make better use of the printed page space?
1
by: Jeje | last post by:
Him I know a lot of people suffer this issue in the past... but in my case it's really hard to reproduce the session timeout error. everything works fine, the user can see the reports etc... ...
0
by: dmaclagan | last post by:
I have an ASP.Net web page with ReportViewer embedded in it. My dataset is within a DLL that I have created from a project within my Visual Studio 2005 solution for my web site. When I run my report...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.