HTML Report Viewer: No Print Button

Greetings,
I am using the HTML Report Viewer in an Asp.net Web Form.
My problem is there is no print button, even though
ShowPrintButton="True"
Any help would be greatly appreciated.
Many thanks,
Todd
<rsweb:ReportViewer ID="MainReportViewer" runat="server"
ProcessingMode="Remote"
Width="100%"
Height="100%"
ShowExportControls="True"
ShowFindControls="True"
ShowParameterPrompts="True"
ShowPromptAreaButton="False"
ShowRefreshButton="False"
ShowPrintButton="True"
ShowZoomControl="True"
ZoomMode="Percent"
BackColor="White" >
<ServerReport DisplayName="MainReport" />
</rsweb:ReportViewer>
Best, CM+

Hi CM+,
In your scenario, which browser are you using? In Reporting Services, the ReportViewer control is used to embed report functionality in an ASP.NET Web application. Not all report functionality is supported by all browsers. Print button is hidden in any browser
that is not IE because ReportViewer uses ActiveX for client printing which means no other browser other than IE can handle it. You can try the following approaches as workaround for this issue.
Cross-Browser Printing with Asp.Net ReportViewer
Hope this helps.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support

Similar Messages

  • Can't close Crystal Report Viewer after printing.

    I am using VS2010 and the CR runtime for VS2010.
    I have a Crystal Report on a page and a menu button to return to the menu.  When the report displays, if I click the menu button, it takes me to the menu.  But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address.
    The page the report is on uses a Master Page if that matters.
    What can I do to dispose of this report after it prints (I do have a report.Close and report.Dispose before it gets redirected to the menu.)   I've commented out the line that redirects to the menu and placed code that gets executed both ways but when I print, the report doesn't go away.

    OK, you wrote:
    I have a Crystal Report on a page and a menu button to return to the menu. When the report displays, if I click the menu button, it takes me to the menu. But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address
    So this is not a the Standard Menu bar but a Menu button you have on your form. I added the Standard Menu bar to my form and then hit the CR Print button in the viewer and while that MS Printer Dialog box is open I can't set focus to anything else.
    This suggests that your focus control is getting lost somewhere or taking over/wiping out the focus ID for the Crviewer with no way to return to it...
    Check you form options and specifically on your "Menu" button or what ever it is....
    Don

  • HTML Report Viewer width changes from percent to pixel after postback

    Post Author: MikeDymond
    CA Forum: General
    Because of the page layout that the report needs to fit into I need to have the ReportViewer width set to 100% (that is 100% of a table cell, embedded within a complex web page). When you first view the page it looks fine, the ReportViewer is correctly set to 100% and fill the space it should. When you then hit the next page button it causes the page to refresh but this time the ReportViewer width is not set correctly. Looking at the code I can see that the relevant line in the HTML is:        <div id="cridcontainerCrystalReportsViewer" style="width: 100%; height: 712px; position:relative">and is correct when you first load the page. However after the Postback it is changed to:        <div id="cridcontainerCrystalReportsViewer" style="width: 100px; height: 408px; position:relative">and hence the page does not display as it should.Even if I force that value to be set in code every time the page is shown it still does not work if it is set to a percentage. If I force it to be set to 500 pixels it works as expected and the viewer is set to 500 pixels wide both before and after the postback.        <div id="cridcontainerCrystalReportsViewer" style="width: 500px; height: 408px; position:relative"> However that is not what I need to make the page look as it should. Anyone got any ideas? Is this a bug in the Viewer?Cheers Mike

    You talking here only about textboxes, what about the other controls in your form(dropdownlists, checboxes....)? How you will be validating the data on these forms? What if you want to implement server side functionality behind?. I'm asking these question
    just to see if you planned well for your idea. I guess you're going into this because you want to runaway of generating many forms via asp.net, is this correct?.
    Another options can be:
    Create forms that are generated on runtime based on your datasource, I've done this before but there was a specific DB design for that. Here you can read your DB and based on you can create the different types of asp.net controls, in addition to calling
    sever side controls and validation.
    The second option is to have a look at the InfoPath product, its mainly used for Sharepoint but not sure for asp.net.
    Fouad Roumieh

  • Crystal Report viewing and Printing Issue

    Hi Experts
                    I use crystal Reports for PO,AR Invoice,Delivery and many other documents.It takes more than 5 mins to view layout from crystal report and print sequence printing takes more than 10mins.Please Help me to rectify this issue..
    Regards
    Naresh Kumar

    Hi Naresh,
    What is your SAP version and Patch Level ?
    I believe in new version this issue has been addressed by SAP. Also note SAP B1 8.81 PL 07 has some issues in crystal Report, it asks for SQL user id and password, SAP is aware of this issue. So if you plan upgrade to latest PL then ensure that Crystal report issue is resolved, otherwise you will be in trouble.
    BR
    Samir Gandhi

  • Web Report Viewer - Default Printer not picked up

    We have a web application that previews Crystal Reports and prints via ActiveX. The report is set to a printer called 'RICOHC4000Letters'.
    The client side has another printer call 'RICOHC4000' with the same printer driver. And I understand that the ActiveX printing looks for the printer driver on the client side. So if you understand what I mean, the default printer when printing is set to 'RICOHC4000' instead of the one set on the report.
    We are using Crystal Reports 2008 SP3, FP3.3.
    Hope anyone can help or anyone has run in the same situation.
    Thanks in advance.
    Noel

    Hi Noel,
    If you search using here you'll find post on how to. Here's one part I used with a common dialog box to select the printer, note this is a Windows app:
    private void btnSetPrinter_Click(object sender, System.EventArgs e)
         System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
        CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
        CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
         if (rdoCurrent.Checked)
              pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
            MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
            MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                   pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
            MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                   pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
              // added the below line to verify the changes work.
            MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
            MYPRTOpts.PrinterDuplex = CrPrinterDuplexEnum.crPrinterDuplexVertical;
            MYPRTOpts.DissociatePageSizeAndPrinterPaperSize = true;
         else
              pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
            MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
            MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                   pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
            MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                   pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
            MYPRTOpts.PrinterDuplex = CrPrinterDuplexEnum.crPrinterDuplexVertical;
            MYPRTOpts.DissociatePageSizeAndPrinterPaperSize = true;
        rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
         MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
         rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
         MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    You can simply ignore that part and this should allow you to print. Also realize this is server side printing only. One option would be to export to PDF, stream that to the users PC and then they can print it locally.
    Thank you
    Don

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all,
    I am using CR XI along with VS2003 for developing my application.
    My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resource, for showing the report in Crystal report viewer.
    Once report get loaded, I am using Print Button from Crystal report viewer to print the report.
    report get printed properly..
    However a strange behavior occurring, Form with Crystal report viewer control placed loses focus and immediate below window coming into focus (some other opened window get activated and bring to front and hiding my application).
    Any suggestion would be appreciated.
    Thank you
    Riju K K

    Hi Brian,
    Thanks for you are reply.
    I think I am not creating a separate process,
    From my application, I am creating an instance of form (which is in another DLL) which is hosting Crystal report viewer.
    If click "Print" button on the Crystal report viewer, I am getting a Printer selection form.
    If I cancel from there ,my Crystal report viewer form get focus back.
    If select a printer and click "OK". my Crystal report viewer form lost focus and some of the other window opened (word, ie, etc) before get focus.
    My assumption is Crystal Report viewer's "Print" button may be using a separate thread for Printing.
    that may creating this focus issue.
    what you think?

  • Print HTML Report.vi doesn't scale properly.

    LV 8.5.1, Report Generation Toolkit, XP.  Our application uses the Print HTML Report.vi to print an HTML report.
    We found that on some installations the resulting page does not scale properly.  Instead of being one page wide,
    the printout is about 1.5 pages wide (and proportionately longer), leading to our report being truncated.
    Tried different printers, different print drivers, no difference.
    Finally we noticed that the affected computers all had Internet Explorer 6 installed.  Updating to Internet
    Explorer 7 fixed the problem.  Don't know about IE8, I expect that will work as well.
    Hopefully this will help someone else who runs across this problem.  I couldn't find any reference to
    an IE > 6 dependency in the Report Generation Toolkit readme system requirement.
    Matt

    Hi Charlie,
    The layout option is not wired to anything in the Standard, HTML, Excel and Word Report, but it is used in the Quick Print default case.  The Help document for this VI mentions that the layout option is ignored on Standard and HTML Reports but does not mention the Excel or Word Reports.
    This was discovered a little while ago in this discussion forum.  And a report has be filed to R&D by Ben.
    Justin Parker
    National Instruments
    Product Support Engineer

  • Crystal report print button greyed out in user citrix sessions

    Hi,
    We are running Citrix Enterprise Server 4.5 on Windows 2003 servers.
    We have a ERP app called Epicor 7.3.6 installed on them.
    Crystal Reports 9 is installed on all these servers and the epicor app displays and prints crystal reports.
    Some users when logged into their Citrix profile session and running Crystal Reports from within Epicor application can not print the Crystal report because the Print button is greyed out.
    We have compared users that can print against users who can not not print and not found anything at the network, file permissions, application permissions, printer setup setting level.
    Also, if we were to take citirx completely out of the discussion, what might cause the print button to be greyed out in a crystal report when it is displayed (not the developer, but in the minmal window that shows the export, print, magnify options only).
    Thanks
    Chris

    Check with Epicor. We don't know how Epicor implemented the solution so it's kinda like you asking a mechnic to fix your car, but he can't open the hood to see the engine.
    A tip; this is more than likely due to permissions. So, compare between boxes thast work and don't work. Use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to track permission issues.
    Ludek

  • I need crystall report print button support insted of exporting to pdf then print

    Crystal reports are the most widely used reporting software.its print button is working on active X controls. due to the i am not able to use direct print button.
    so please help me to provide a plugin for crystal report

    Here is C# code for print crystal report
    cryRpt.PrintToPrinter(2, true, 1, 2);
    check this it will help you to print crystal reports
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-print.htm
    It may help you.
    merca.

  • PrintButton Event in Report Viewer - Can it be returned

    Hello
    When you View a report in the Crystal Report Viewer and click the Viewer's Print Button, can you capture the event so that you can track that the report has been printed?
    Thank you

    Hi David,
    It turns out that Cr doesn't have an API to do this. What you are doing is modifying the form controls through Windows form controller:
    Private Sub DoWork(ByVal sender As System.Object, ByVal e As System.EventArgs)
            MessageBox.Show("Do your code here")
        End Sub
         Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            For Each ctrl As Control In CrystalReportViewer1.Controls
                If TypeOf ctrl Is Windows.Forms.ToolStrip Then
                    Dim btnNew As New ToolStripButton
                    btnNew.Text = "My Button"
                    CType(ctrl, ToolStrip).Items.Add(btnNew)
                    AddHandler ctrl.Click, AddressOf DoWork
                End If
            Next
    End Sub
    Completely NOT supported by SAP.
    Thank you
    Don

  • Print Button with blank Pop Up

    While trying to print a crystal report through crystal viewer the print button is showing blank and staying still for long time. We are not able to print the report through the viewer.
    Any solution please

    Firstly it would be handy to know what version of CR you are using?
    Is this a standalone application? If so the Print Control is an ActiveX plug-in which requires permissions.
    Don

  • Crystal Report Viewer Error Handling

    Dear All
    Thank you for your attention.
    I wrote a C# program for user to print out an order using WPF and crystal report viewer.
    Computer A is connected directly to the printer through USB.
    Computer B and C are connected to the printer through printer sharing.
    Computer A can print out anything such as word doc or image to the printer.
    However, when using the print function in the crystal report viewer(select printer and press print), it crashes.
    Very strange that computer B and C could use the print function in the crystal report viewer without any error.
    As in my developer computer I could not simulate the error, how could I capture and study the error of the print function in the crystal report viewer in computer A?
    Thanks a lot.
    Best Regards
    swivan

    try this:
    https://msdn.microsoft.com/en-us/library/aa288423(v=vs.71).aspx
    https://msdn.microsoft.com/en-US/library/ms225372(v=vs.80).aspx

  • How to pass in a parameter into a report viewer on a jsp - and hidden

    Hi, I've built a php application and am using the java environment to enable the crystal report/viewer.  The developer was looking how to pass in a parameter into a report viewer on a jsp. Ultimately the end product we need is to get an HTML report viewer loading a report file with hidden parameters so to not expose other customer data (it's a shared database for multiple customers) preferably loaded from php using maybe the php java bridge. Would anyone happen to have any sample code or any guidance?
    <%@ page contentType="text/html; charset=UTF-8"
       pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <%
    // just a test to grab rpt name from GET
    String rptFile = "report_files/" + request.getParameter("rpt");
    %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName=""
    isOwnPage="true">
       <crviewer:report reportName="<%= rptFile %>" />
    </crviewer:viewer>
    Many thanks in advance!
    Mark

    I am not aware of any html tags you can pass to the viewer for parameter values.  Normally, you would load the report in code and then use the SDK with the report object to pass parameter values.

  • Html report scrollbar in LV User Interface

    Hi Everyone
    I'm designing a LV User Interface with a HTML report view. Everything is working nicely except that while the report is being generated the report text becomes wider than the report view causing a horizontal scrollbar to appear which then shifts the report view to the far right hand side. This is annoying and we don't want the operator to constantly have to scroll the horizontal bar across every time.
    How can I disable the Horizontal scrollbar or enable the text to just wrap around. The culprit in the HTML report is when the full path name to the sequence is displayed, if I could at least disable the filename from being written that ought to help. This ought to be done within the reportgen_HTML.seq but where?
    Kurt Friday
    www.sciware.com.au

    Hi
    To help you remove the report path from the report I will need to know what are your report settings.
    Can you please post your "TestStandModelReportOptions.ini" usually found under <TestStand>\cfg folder.
    To try to resolve the issue with the horizontal scroll bar I have a couple of questions:
    1. What version of TestStand are you using
    2. What version of IE is installed on your machine
    3. Can you please post a sample report and a TestStand Sequence File which causes this issue
    4. What is your OS?
    Regards
    Anand Jain
    National Instruments.

  • Problem with Print button in service confirmation

    Hi Experts,
    I am facing a problem in service confirmation in pcui.When the system status is completed i am unable to select the print option, as the print button is disabled.
    I have assigned action for smartform print in confirmation.I am able to view the print button before changing the status to complete.
    The same is working fine in UI.
    Can anyone suggest some solution to the problem?
    Regards,
    PePe

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

Maybe you are looking for

  • Quicktime refuses to play anything

    I recently tried to play some .mov, mp4 and mpg files however each movie causes quicktime to give an error " Quicktime cannot play this file because it is not a file quicktime understands error (-2048)". Anyone know what the heck is going on? pls hel

  • Oracle Applications 11i - Financials implementation

    Is it possible for me to obtain a real time implementation manual for Oracle Financials Modules like GL, AP, AR,OM,CM etc, in any company.I am looking forward to have some inoformation as to how the business analysis,plans to implement the modules in

  • DLT 4000 not recognised in Encore CS3

    Hi there, Currently attempting to build a nice quad core system, running Vista. The one issue I seem to have is that the DLT drive (Quantum 4000) is not found in Encore. In Device Manager, it comes up all okay..... I am now pulling my hair out for a

  • The power went out while installing the software update..!

    The power went out while installing the new Apple TV software update..! Now the LED flashes all the time, shows the apple logo and never boots.

  • Page can not found error

    Hi, I'm new to Apex. I was trying to install Apex 3.2 on my Windows XP Professiona 2002 (SP2) laptop. i've DB 10.1 & Companion CD 10.2 for HTTP Server. I'm following Documents but not able to start Apex. my steps are as follows 1)Installed Oracle DB