473,385 Members | 1,856 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,385 software developers and data experts.

Print a hidden report

How do you print a report/form when it's hidden? I am using reportViewer and I don't know how to access the printButton. What I want to happen is someone clicks a button on one page and the report would automatically print, without showing the report or any printDialog. I know how to hide the form, just not how to have it print automatically. Any suggestions?
Jan 11 '07 #1
3 2847
? how do you access the print button on the report viewer control?
Jan 11 '07 #2
kenobewan
4,871 Expert 4TB
The report viewer web control does not have built in print functionality when in local mode. A print button is available in remote mode.

The problem isn't the ability to generate EMF files for printing, it's in the availablity of the ActiveX control. In server mode, the viewer sends the ActiveX control from the report server to browser. You can implement your own print functionality and print button by programmatically rendering to EMF (ReportViewer.LocalReport.Render()).
How to? : (ReportViewer + asp.net + .rdlc + print button)

Hope that this helps.
Jan 12 '07 #3
How to? : (ReportViewer + asp.net + .rdlc + print button)

Hope that this helps.

Thanks for the link!
Jan 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: TDIOwa | last post by:
I have a report printing form (Access 97) in which I print different reports from. I have added a combo box that selects the number of copies that I want to print. Here is the rub... The...
3
by: akparasite | last post by:
Hello all, I have a text box in the page header of my Access report that takes a dynamic string value from a named text box on an open form as its control source, written as follows: ...
1
by: Mark Richards | last post by:
Hi. I am basically a novice with access. Sorry for the long question, but I can't find a short way to make this clear.... I have a database I created to track service calls for a client with a...
2
by: Claudia Fong | last post by:
Hi, I have 4 reports created in Ms-access and I will use VB to print those reports. My problem is I'm not sure if I can control wich report to print.. Those reports are almost the same, what...
1
by: jj | last post by:
I created a dynamic report and the fields is displayed base on the query. The report contains about 34 fields so if the query has 34 fields, all 34 fields in the report shows up. But if the query...
5
by: MLH | last post by:
DoCmd.OpenReport reportname The above is the syntax I use in VBA to open & print most reports without displaying report in the process. How to resrict the printout to page 1 only. Don't want...
1
by: ljungers | last post by:
Morning to all. I have been working on a selection process that will use filtered/query data to print a report. With the great help provided here on this fourm, I am down to the last step. What...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
3
by: rajkumarpb | last post by:
Hi friends, I am new to this forum...But not for programming...I want a Print CSS File to be added in my page..OK.... Here is the page and i want you friends to help me create the CSS File...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.