Click here to Skip to main content
13,298,348 members (59,484 online)
Rate this:
Please Sign up or sign in to vote.
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 25-Oct-12 22:30pm
Updated 25-Oct-12 22:48pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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
Tadit Dash 25-Feb-14 5:20am
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?
Tadit Dash 25-Feb-14 5:50am
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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Please follow below links. that may help you,

Detecting IE using javascript[^]

And to show/hide button below javascript may help you,
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 26 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100