Showing posts with label asp. Show all posts
Showing posts with label asp. Show all posts

Friday, March 30, 2012

Print Icon does not function

Hello,

I display my reports through ReportViewer embedded into my ASP.Net application. The Print icon on the ReportViewer works fine on my computer but on other computers. It does not bring the window so that user select the printer. And sometimes I see "Problems with this web page might prevent it from being displayed properly"

Why does this happen and how can I resolve it for all the computers.

Jim H.

For some reason - I like you - you are always encountering a problem - which means you experiment!

Have you installed SP2 of RS?

First of all, tell me your configuration!@.

I can help!

Joe

|||

Once again, have you installed SP2 of RS?

sql

print from toolbar

Hello, I have created an asp.net application using VS .Net 2003, which has a Report Viewer to include reports from my report manager.

The reportviewer has been set to include the standard toolbar, which includes the print button. However, when I use this option, the system prints more pages than it should. If the report is 2 pages long, I end up getting 6 pages, the other four having just the header and footer...(2 blanks pages after each page when port. ana 1 black after each page if landscape)

Any1 know the solution to this problem? I have not coded anything for the print option....

Thanks :)

Check the width of your reports. If it is too wide then printing it will create extra pages.

micro-geek

Print Error in RS2005

Hi All
I have 2 questions regarding the printing of the report.
1) I have an asp.net apps in which there are some links which point to
the report.when comming to the printing of the report only one user
facing the problem while printing the report from the print button icon
from the report.he is getting eror "an error occurred during
printing(0X8007F304)"
He is using other application which contain reports and he can able to
print the report from same print button.
I did search on google for this particular error and in one forum they
said to do this
1. Closed all instance of Internet Explorer.
2. Opened Windows Explorer and went to C:\Windows\Downloaded Program
Files\
3. Right clicked on RSClientPrintClass and chose "Remove"
4. Went to my Reporting Services report and tried to print
5. Said "Install" when prompted to install the Reporting Services Print
Control
6. Printing commenced!
Am i supposed to do it on the server or else on the user PC (Kind of a
dumb question)
2) whats the purpose of the percertange box in the tool bar.is it
useful for the viewing the report by decreasing or printing the report
on a decreased percentage view.I thought by decreasing the
precentage,report size also decreases as it does if we decrease the
percentage and print it from the file menu options.
Thanks
vkvHi ,
Some new problem came in to picture.I did the same thing
removing the rsprintclientcalss and installed activex it worked for the
reports that are on th rs2005.
But the application that contains reports which are on rs2000 getting
an error as "An error occured during printing. (0x80004005).
Does rs2005 print activex should work for 2000?.Are there any options
like both the versions activex controls are downloaded so that both the
versions printing works.
Thanks
vkv

Wednesday, March 28, 2012

Print custom page in asp.net

How could i print a custom page (8.5in X 5.5in) in asp.net 2.0 ?

If you are using ssrs to do the report you can set the margin size by right clicking on the gray area of the body of your report this will bring up properties click on the layout tab you can set the size of your report here.

Please mark as answered if this helps you

Print button is not visible in rdlc report

I am using client side reports (.rdlc) with ASP.Net 2.0 and SQL Server 2000. Reports are generating fine. But there is no print button on report viewer when i generate report. I use browser's print option to print reports but reports does not get printed properly. Can some one tell me how to enable Print button in client side reports.

Local reports in web apps dont support printing . you should write your own print function for that .

you have to render the report and the print generated emf files .here is a sample code but its in win apps.

you should create your own print function

http://msdn2.microsoft.com/en-us/library/ms252091(VS.80).aspx

Saturday, February 25, 2012

Preview/Print/Save reports

Hi

I have done many Reports using SQL 2005 Reporting Services and I can access them by:

http://localhost/Reports

In my ASP.NET application, I have 3 buttons:

Preview, Print and Save

If the user clicks on Preview the report is displayed

if the user clicks on Print,the report is sent automatically to the printer

if the user clicks on Save,the report is Exported in Pdf format to C:/

Can anyone give me some tutorials on how to manage Reports(.rdc) from ASP.NET

Hi,

From your description, it seems that you are wondering how to embed your report in ASP.Net application, right?

Generally, you can add a report viewer to your aspx page. You can follow the steps below to add your report viewer.

Open the Toolbox window. From the Data group, drag a ReportViewer control onto the page.

If it is not already open, open the ReportViewer Tasks smart tag panel by clicking the triangle in the upper right corner of the ReportViewer control on the Web page. In the Choose Report box, select the fully qualified file name for Report.rdlc.

When you select a report, instances of data sources used in the report are created automatically. Code is generated to instantiate each DataTable (and its DataSet container) and an ObjectDataSource control corresponding to each data source used in the report. This data source control is configured automatically.

And then, you can preview and print reports from reportviewer in the following way:
http://msdn2.microsoft.com/en-us/library/ms251693(VS.80).aspx

For more information on embed a report in your website, see:
http://msdn2.microsoft.com/en-us/library/ms252123(VS.80).aspx

Thanks.