Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I set the showprintbutton="True", still not showing even in IE8.0 also. This is the code I used to bind the report.

ReportViewer1.ProcessingMode = ProcessingMode.Local;  
LocalReport rep = ReportViewer1.LocalReport; 

rep.ReportPath = "Reports/test.rdlc";
ReportDataSource dsStatus = new ReportDataSource("DataSet1_test_Report", Test_Report());

rep.DataSources.Clear();
rep.DataSources.Add(dsStatus);
rep.Refresh();
Posted
Updated 15-Nov-11 2:15am
v2
Comments
RaviRanjanKr 15-Nov-11 8:15am    
[Edited]Code is wrapped in "pre" tag[/Edited]

simply..
go to reportviewer's property and set its HasPrintButton property to true.

hope this help
 
Share this answer
 
Comments
RaviRanjanKr 15-Nov-11 8:17am    
5+
I already set that

showprintbutton="True"
 
Share this answer
 
Comments
Vikas_Shukla_89 15-Nov-11 4:20am    
are u setting its property in design mode??

if u r not then Kindly set it to ----- HasPrintButton = true
and
please do comment instead of adding solution...
Robymon 15-Nov-11 4:42am    
Yes, i set it in the design mode, i can see the print icon in the design mode, but when i run the application and run the report it won't show the print icon.

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

  Print Answers RSS


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