Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a report viewer in aspx and at the bottom of the page there is a button named "Print". If I click that "Print" Button, it will print the report viewer when I run the page. Is this possible?
I followed this article. http://blogs.msdn.com/b/brianhartman/archive/2009/02/27/manually-printing-a-report.aspx[^]
Posted
Updated 2-Dec-13 18:01pm
v2
Comments
Thanks7872 1-Dec-13 14:04pm    
Try it,you will come to know whether it is possible or not.
[no name] 1-Dec-13 14:08pm    
is google down?
BeastMode10 2-Dec-13 23:54pm    
Sorry, this is the first time i used rdlc. My programming skills is above novice.
thatraja 2-Dec-13 2:53am    
Crystal reports? rdlc?
BeastMode10 2-Dec-13 23:52pm    
That would be rdlc.

Have you tried this?

C++
<asp:button id="printButton" runat="server" text="Print" onclientclick="javascript:window.print();" xmlns:asp="#unknown" />
 
Share this answer
 
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900