Click here to Skip to main content
12,628,919 members (31,553 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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
Nelek110.8K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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
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
 
good
Please Sign up or sign in to vote.

Solution 1

Hi,

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.
Thanks.
  Permalink  

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 | Mobile
Web02 | 2.8.161205.3 | Last Updated 26 Oct 2012
Copyright © CodeProject, 1999-2016
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