Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If IE is used to view .rdl report in .aspx page using Microsoft.ReportViewer.WebForms, then Print button is enabled. If the same report is opened in Non IE Browser like firefox/Chrome, here print button is disabled.

Any Help on this would be appreciatable.

Thanks in Advance
Posted
Updated 25-Oct-12 21:48pm
v2

 
Share this answer
 
Comments
Namith Krishnan E 25-Feb-14 5:14am    
How can i get the same style as in report while writing that content in to html page.....?
and How to remove printing url at the top and date at the bottom.....please help
You can't remove URL and Date from that. That is default behaviour of Browser.
Namith Krishnan E 25-Feb-14 5:40am    
How can i properly align the contents?
You need to check the styles of elements and see why they are not showing correctly on all the browsers. You might get the hint.
Hi,

Please follow below links. that may help you,

Detecting IE using javascript[^]

And to show/hide button below javascript may help you,
JavaScript
document.getElementById('buttonid').style.visibility='hidden'; // hide  
document.getElementById('buttonid').style.visibility='visible'; // show 

So detect the browser and if it is not IE then hide the button.

Hope it helps you.
Thanks.
 
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