CrystalReportViewer Toolbar

Crystal report viewer Page navigation buttons issue
<CR:CrystalReportViewer ID="uxViewer" runat="server" HasExportButton="False"  HasPrintButton="True"
              EnableDatabaseLogonPrompt="false" EnableParameterPrompt="false" HasCrystalLogo="False" HasRefreshButton="False"
              HasSearchButton="False" HasDrillUpButton="False" HasToggleGroupTreeButton="False"
               Height="100" Width="100%" BackColor="White" HasPageNavigationButtons="True" HasZoomFactorList="False"
         />
we were earlier using crystal reports 2005  with the above declaration and the crystal report viewer control looked like the first image in the below link.
After migrating it to CR v13 with the below declaration, it looked like the second image in the below link
<CR:CrystalReportViewer ID="uxViewer" runat="server" HasExportButton="False"  HasPrintButton="True"
              EnableDatabaseLogonPrompt="false" EnableParameterPrompt="false" HasCrystalLogo="False" HasRefreshButton="False"
              HasSearchButton="False" HasDrillUpButton="False" HasToggleGroupTreeButton="False"
               Height="100" Width="100%" BackColor="White" HasPageNavigationButtons="True" HasZoomFactorList="False" EnableDrillDown="False"  ToolPanelView="None"
           HasDrilldownTabs="False"
         />
[Above-2005 / Below V13 CRV toolbar|http://tinypic.com/r/rlcjtt/5]
Is there a change in look and feel, or am I missing something here.

You can control the toolbar via the viewer properties. E.g.; ShowPageNavigateButton, etc., etc.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • Crystalreportviewer Toolbar controls disapperas on postback

    Hi,
    i am using CR XI R2. i have customized my crystalreportviewer toolbar to add buttons on it using followinf code
    System.Web.UI.Control oControl = CrystalReportViewer1.Controls[2];
    Button oButton = new Button();
    oButton.ID = "newButton";
    oButton.Text = "My New Button";
    oControl.Controls.Add(oButton);
    when i click the button in crystalrpeortviewer toolbar, the button control disappears. i tried to re-create the control in postback i receive an error saying
    Multiple controls with the same ID newButton were found. FindControl requires that controls have unique IDs.
    please help me
    padmanaban v

    I'll get the 404 error checked out. Meanwhile, here is a copy of the note;
    Symptom
    How to add a customized print button to the Crystal Reports viewer control in Visual Studio .NET 2008 Windows application instead of using existing print button?
    Resolution
    Customized print button can be added to the Crystal Reports Viewer by using ToolStrip.
    Please refer to the following code to add a customized print button to the Crystal Reports Viewer control:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using System.Drawing.Printing;
    namespace WindowsFormsApplication1
        public partial class Form1 : Form
            CrystalReport1 cr;
            public Form1()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
    ToolStrip ts;
                ts = (ToolStrip)crystalReportViewer1 .Controls[3];
                ToolStripButton printbutton = new ToolStripButton();
                printbutton.Image = ts.Items[1].Image;
                ts.Items.Remove(ts.Items[1]);
                ts.Items.Insert(1, printbutton);
                ts.Items[1].Click += new EventHandler(this.CaptureEvent);
                cr = new CrystalReport1();
                this.crystalReportViewer1.ReportSource = cr;
            private void CaptureEvent(Object Sender, EventArgs e)
                try
                {        // Create a Print Dialog
                    PrintDialog printDialog1 = new PrintDialog();
                    // Create a Print Document
                    PrintDocument pd = new PrintDocument();
                    printDialog1.Document = pd;
                    printDialog1.ShowNetwork = true;
    printDialog1.AllowSomePages = true;
                    DialogResult result = printDialog1.ShowDialog();
                    if (result == DialogResult.OK)
                        MessageBox.Show("Print button has been selected !!!");
    PrintReport(printDialog1.PrinterSettings.PrinterName);
                    else if (result == DialogResult.Cancel)
                        MessageBox.Show("Cancel button has been selected !!!");
    catch (Exception ex)
                    MessageBox.Show(ex.Message);

  • Web CrystalReportViewer error when trying to go to the next page or search

    Recently I've updated my solution to CrystalReports for VS2010 (now I have 13.0.2000.0 version along with .NET 4.0 and C#). When I used CrystalReports 10.5.3700.0 CrystalReportViewer was situated inside an UpdatePanel and controlled with my own toolbar and everything worked fine. After an update this stuff refused to work at all (CrystalReportViewer was simply blank) and I according to advices on this board removed all UpdatePanels and ScriptManager from my page and began to use native CrystalReportViewer toolbar. Now first page of the report is rendering properly and Print and Export buttons of the native toolbar are working fine but when i'm trying to go to the next page of a report, I see only word "Error" in the report's area.
    Fiddler log for this request:
    POST http://127.0.0.1:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3a00%3a00&to_d=22.03.2010+23%3a59%3a59&s%5b%5d=74%2c95%2c112%2c97%2c139%2c96%2c125%2c113%2c98%2c128%2c144%2c90%2c141%2c80%2c75%2c118%2c109%2c71%2c72%2c94%2c73%2c3%2c2%2c81%2c133%2c82%2c117%2c140%2c127%2c137%2c131%2c143%2c116%2c129%2c111%2c87%2c88%2c120%2c110%2c124%2c145%2c146%2c134%2c135%2c138%2c108%2c101%2c136%2c142%2c76%2c6%2c47%2c10%2c4%2c53%2c102%2c91%2c11%2c99%2c50%2c114%2c132%2c115 HTTP/1.1
    Host: 127.0.0.1:56507
    Connection: keep-alive
    Referer: http://ipv4.fiddler:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3A00%3A00&to_d=22.03.2010+23%3A59%3A59&s%5B%5D=74%2C95%2C112%2C97%2C139%2C96%2C125%2C113%2C98%2C128%2C144%2C90%2C141%2C80%2C75%2C118%2C109%2C71%2C72%2C94%2C73%2C3%2C2%2C81%2C133%2C82%2C117%2C140%2C127%2C137%2C131%2C143%2C116%2C129%2C111%2C87%2C88%2C120%2C110%2C124%2C145%2C146%2C134%2C135%2C138%2C108%2C101%2C136%2C142%2C76%2C6%2C47%2C10%2C4%2C53%2C102%2C91%2C11%2C99%2C50%2C114%2C132%2C115
    __EVENTTARGET=StatReportViewer
    __EVENTARGUMENT={"0":{"rptViewLabel":"u0413u043Bu0430u0432u043Du044Bu0439 u043Eu0442u0447u0435u0442", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duaAUOTGFzdFBhZ2VOdW1iZXICAQUKUGFnZU51bWJlcgIB", "pageNum":1}, "common":{"width":"350px", "Height":"", "enableDrillDown":false, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"...(HUGE VIEWSTATE STUFF)...", "rptAlbumOrder":["0"], "toolPanelType":"None", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[], "paramOpts":{"numberFormat":{"groupSeperator":" ", "decimalSeperator":","}, "dateFormat":"dd.MM.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"dd.MM.yyyy H:mm:ss", "booleanFormat":{"true":"u0438u0441u0442u0438u043Du0430", "false":"u043Bu043Eu0436u044C"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"01.09.2011 15:14:03"}, "curViewId":"0"}
    __VIEWSTATE=/wEPDwUKMTY3NzU4MzI2OQ9kFgICAw9kFgICEw8XAGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFEUxvZ2luU3RhdHVzJGN0bDAxBRFMb2dpblN0YXR1cyRjdGwwMw==
    StatReportViewer_toptoolbar_search_textField=Find...
    text_StatReportViewer_toptoolbar_selectPg=1 of 1+
    text_StatReportViewer_toptoolbar_zoom=100%
    On a reloaded page I see just a text "Error" in CrystalReportViewer area and the following stack trace in html markup:
    Inner Stack Trace:
       at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)
       at CrystalDecisions.Shared.Json.JsonTokener.NextValue()
       at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)
    Stack Trace:
       at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)
       at CrystalDecisions.Shared.Json.JsonTokener.NextValue()
       at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)
       at CrystalDecisions.Shared.Json.JsonArray..ctor(String string_Renamed)
       at CrystalDecisions.Web.ReportAgentBase.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)
       at CrystalDecisions.Web.ReportAgent.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)
       at CrystalDecisions.Web.CrystalReportViewerBase.LoadViewState(Object viewState)
       at CrystalDecisions.Web.CrystalReportViewer.LoadViewState(Object viewState)
    I don't know what additional information about this issue will be helpful. Any kind of help will be highly appreciated.

    Tried with attached allinone.js with out any luck.
    It seems that the GetLayer function returns null for the Crystal reports viewer Id
    below are fields values in function Widget_init()
    A.id= "RptViewer_BeamRptViewer__UI"
    this
        id: "RptViewer_BeamRptViewer__UI"
        layer: null
        css: null
        getHTML: function(){var B=bobj.html;var C={overflow:"hidden",position:"relative",left:this.visualStyle.left,top:this.visualStyle.top};var A=B.DIV({dir:"ltr",id:this.id,style:C,"class":"dialogzone"},this._topToolbar?this._topToolbar.getHTML():"",this._separator?this
        beginHTML: function Widget_getHTML(){return""}
        endHTML: function Widget_getHTML(){return""}
        write: function Widget_write(A){_curDoc.write(this.getHTML(A))}
        begin: function Widget_begin(){_curDoc.write(this.beginHTML())}
        end: function Widget_end(){_curDoc.write(this.endHTML())}
        init: function(){this.initOld();this._initSignals();if(this._reportAlbum){this._reportAlbum.init()}if(this._topToolbar){this._topToolbar.init()}if(this._leftPanel){this._leftPanel.init()}if(this._statusbar){this._statusbar.init()}if(this._leftPanelResizeGrabber)
        move: function Widget_move(A,C){var B=this.css;if(A!=null){if(_moz){B.left=""+A+"px"}else{B.pixelLeft=A}}if(C!=null){if(_moz){B.top=""+C+"px"}else{B.pixelTop=C}}}
        resize: function(A,B){if(bobj.isNumber(A)){A=A+"px"}if(bobj.isNumber(B)){B=B+"px"}this.visualStyle.width=A;this.visualStyle.height=B;this._doLayout()}
        setBgColor: function Widget_setBgColor(A){this.css.backgroundColor=A}
        show: function Widget_show(A){this.css.visibility=A?_show:_hide}
        getWidth: function Widget_getWidth(){return this.layer.offsetWidth}
        getHeight: function Widget_getHeight(){return this.layer.offsetHeight}
        setHTML: function Widget_setHTML(A){var B=this;if(B.layer){B.layer.innerHTML=A}else{B.initialHTML=A}}
        setDisabled: function Widget_setDisabled(A){if(this.layer){this.layer.disabled=A}}
        focus: function Widget_focus(){safeSetFocus(this.layer)}
        setDisplay: function Widget_setDisplay(A){if(this.css){this.css.display=A?"":"none"}}
        isDisplayed: function Widget_isDisplayed(){if(this.css.display=="none"){return false}else{return true}}
        appendHTML: function Widget_appendHTML(){append(_curDoc.body,this.getHTML())}
        setTooltip: function Widget_setTooltip(A){this.layer.title=A}
        initialized: function Widget_initialized(){return this.layer!=null}
        widx: 64
        isDisplayModalBG: false
        isLoadContentOnInit: false
        layoutType: "fitReport"
        visualStyle: {...}
        widgetType: "Viewer"
        _topToolbar: {...}
        _reportAlbum: {...}
        _leftPanel: {...}
        _separator: {...}
        _print: {...}
        _export: {...}
        _promptDlg: null
        _reportProcessing: {...}
        _eventListeners: []
        _statusbar: {...}
        _leftPanelResizeGrabber: {...}
        initOld: function Widget_init(){var A=this;A.layer=getLayer(A.id);A.css=A.layer.style;A.layer._widget=A.widx;if(A.initialHTML){A.setHTML(A.initialHTML)}}
        _boundaryControl: {...}
        _modalBackground: {...}
        LayoutTypes: {...}
        PromptingTypes: {...}
        onGrabberMove: function(A){if(this._leftPanel){this._leftPanel.resize(A,null);this._doLayout()}}
        keepFocus: function(){var A=bobj.crv.params.FlexParameterBridge.getSWF(this.id);if(A){A.focus()}}
        addChild: function(A){if(A.widgetType=="ReportAlbum"){this._reportAlbum=A}else{if(A.widgetType=="Toolbar"){this._topToolbar=A;this._separator=bobj.crv.newSeparator()}else{if(A.widgetType=="Statusbar"){this._statusbar=A}else{if(A.widgetType=="PrintUI"){this._print=A}
        _onWindowResize: function(){if(this._currWinSize.w!=winWidth()||this._currWinSize.h!=winHeight()){this._doLayout();this._currWinSize.w=winWidth();this._currWinSize.h=winHeight()}}
        _initSignals: function(){var B=MochiKit.Base.partial;var D=MochiKit.Signal.signal;var A=MochiKit.Signal.connect;var C=MochiKit.Iter.forEach;if(this._topToolbar){C(["zoom","drillUp","firstPage","prevPage","nextPage","lastPage","selectPage","refresh","search","export","pr
        getLeftPanel: function(){return this._leftPanel}
        _initLeftPanelSignals: function(){var B=MochiKit.Base.partial;var D=MochiKit.Signal.signal;var A=MochiKit.Signal.connect;var C=MochiKit.Iter.forEach;if(this._leftPanel){C(["grpDrilldown","grpNodeRetrieveChildren","grpNodeCollapse","grpNodeExpand","resetParamPanel","resizeToolPan
        _isMainReportViewSelected: function(){var A=this._reportAlbum.getSelectedView();return A&&A.isMainReport()}
        _doLayoutOnLoad: function(){this.css.visibility=this._oldCssVisibility;this._doLayout()}
        _doLayout: function(){var H=this._topToolbar?this._topToolbar.getHeight():0;var D=this._topToolbar?this._topToolbar.getWidth():0;var K=this._separator?this._separator.getHeight():0;var M=this._statusbar?this._statusbar.getHeight():0;var R=this._leftPanel?this._leftPa
        _onSwitchPanel: function(A){var B=bobj.crv.ToolPanelType;if(B.GroupTree==A){MochiKit.Signal.signal(this,"showGroupTree")}else{if(B.ParameterPanel==A){MochiKit.Signal.signal(this,"showParamPanel")}else{if(B.None==A){MochiKit.Signal.signal(this,"hideToolPanel")}}}this._left
        setPageNumber: function(B,A){if(this._topToolbar){this._topToolbar.setPageNumber(B,A)}}
        showPromptDialog: function(B,A){if(!this._promptDlg){var C=MochiKit.Base.bind(this._onShowPromptDialog,this);var D=MochiKit.Base.bind(this._onHidePromptDialog,this);this._promptDlg=bobj.crv.params.newParameterDialog({id:this.id+"_promptDlg",showCB:C,hideCB:D})}this._promptD
        updatePromptDialog: function(A){A=A||"";var B=function(C,D){return function(){C.updateHtmlAndDisplay(D)}};bobj.loadJSResourceAndExecCallBack(bobj.crv.config.resources.HTMLPromptingSDK,B(this._promptDlg,A));if(bobj.isParentWindowTestRunner()){setTimeout(MochiKit.Base.partial(M
        showFlexPromptDialog: function(G,M){var B=bobj.crv.params.FlexParameterBridge;var C=bobj.crv.params.ViewerFlexParameterAdapter;if(!B.checkFlashPlayer()){var E=L_bobj_crv_FlashRequired;this.showError(E.substr(0,E.indexOf("{0}")),B.getInstallHTML());return }C.setViewerLayoutType(
        sendPromptingAsyncRequest: function(A){MochiKit.Signal.signal(this,"crprompt_asyncrequest",A)}
        setDisplayModalBackground: function(A){A=this.isDisplayModalBG||A;if(this._modalBackground){this._modalBackground.show(A)}}
        _onShowPromptDialog: function(){this._adjustWindowScrollBars();this.setDisplayModalBackground(true)}
        _onHidePromptDialog: function(){this._adjustWindowScrollBars();document.onkeypress=this._originalDocumentOnKeyPress;this.setDisplayModalBackground(false)}
        isPromptDialogVisible: function(){return this._promptDlg&&this._promptDlg.isVisible&&this._promptDlg.isVisible()}
        hidePromptDialog: function(){if(this.isPromptDialogVisible()){this._promptDlg.show(false)}}
        hideFlexPromptDialog: function(){if(this._promptDlg){if(_ie){this._promptDlg.focus()}this._promptDlg.style.visibility="hidden";this._promptDlg.style.display="none";this.setDisplayModalBackground(false);if(this._promptDlg.closeCB){this._promptDlg.closeCB()}}}
        _adjustWindowScrollBars: function(){if(_ie&&this.layoutType==bobj.crv.Viewer.LayoutTypes.CLIENT&&this._promptDlg&&this._promptDlg.layer&&MochiKit.DOM.currentDocument().body){var E,B;var A=MochiKit.DOM.currentDocument().body;var D=this._promptDlg.layer;if(this.getReportPage()&&this
        showError: function(C,A){var B=bobj.crv.ErrorDialog.getInstance();B.setText(C,A);B.setTitle(L_bobj_crv_Error);B.show(true)}
        update: function(C){if(!C||C.cons!="bobj.crv.newViewer"){return }if(C.args){this.isDisplayModalBG=C.args.isDisplayModalBG}this.hidePromptDialog();for(var A in C.children){var B=C.children[A];if(B){switch(B.cons){case"bobj.crv.newReportAlbum":if(this._reportAlbum){
        getToolPanel: function(){if(this._leftPanel){return this._leftPanel.getToolPanel()}return null}
        getParameterPanel: function(){var A=this.getToolPanel();if(A){return A.getParameterPanel()}return null}
        getReportPage: function(){if(this._reportAlbum){var A=this._reportAlbum.getSelectedView();if(A){return A.reportPage}}return null}
        scrollToHighlighted: function(){if(!this._reportAlbum){return }var A=this._reportAlbum.getSelectedView();if(A){A.scrollToHighlighted(this.layoutType.toLowerCase()==bobj.crv.Viewer.LayoutTypes.FITREPORT)}}
        addViewerEventListener: function(C,B){var A=this._eventListeners[C];if(!A){this._eventListeners[C]=[B];return }A[A.length]=B}
        removeViewerEventListener: function(E,B){var A=this._eventListeners[E];if(A){for(var D=0,C=A.length;D<C;D++){if(A[D]==B){A.splice(D,1);return }}}}
        getEventListeners: function(A){return this._eventListeners[A]}

  • CrystalReportViewer DisplayToolbar false on html button.

    hi..
    I need to hide CrystalReportViewer Toolbar on button click of html input button in my aspx page how to do so can it possible to do using java script
    or j query or any other method to hide CrystalReportViewer toolbar without post back..
    Thanks

    No there is not.
    - Ludek

  • "Missing parameter values" error on Export - rehash

    VS2008, CR2008, no SP.
    I am getting this when trying to use the export button on the CrystalReportViewer tool bar.  I am pretty sure I need to refresh the report when the export button is clicked, but I cannot find a CrystalReportViewer event for this.  I created my own Export button and refresh the report when it is clicked and it works fine - no errors.  So now I want to get rid of the Export button from the button bar, but it seems that this is not possible?
    I guess my question is... is there an event I can trap associated with when the export button on the original CrystalReportViewer toolbar is pressed OR is there a way to get rid of the Export button on the toolbar?
    Thanks,
    Dave

    Yikes - I can't believe I missed that!  OK the button is gone and all is well.
    This has been an interesting project.  I usually set up my reports with BOTH the CrystalReportSource and the CrystalReportViewer and that combination seems to always work great.  Its really easy to pass parameters and selection formulas with this combination.  However, I have one report that I need to pass both parameters AND a selection formula to the main report AND a subreport so I have to get rid of the CrystalReportSource and instead use the CrystalReports.Engine.  This gets a bit more tricky as I have found out.
    Anyways all is well.  Thanks for your help - you showed me something that was right in front of my face.
    Dave

  • Need to remove syles/images via CrystalReportViewer

    I am trying to embed a report in the app. I only need the report (minus the toolbar, "main report" tab, printLayout and border gifs)
    I was able to remove the
    a) toolbar,
    b) "main report" tab,
    c) partial background style - using setDocumentViewType - webLayout (Thanks Ted)
    (I was able to hack and remove it from allInOne.js - but I would rather do it with setDocumentViewType )
    I now need to remove
       dialogframeleftright.gif, dialogframetopbottom.gif  and any other gifs.
    How do I achieve this via CrystalReportViewer in XI 3.0/3.1?

    In response to below------Thank you Lynn-----Yes, there is a main panel--I will attach----and if you have any further suggestions please let me know--Thanks again
    How are you running this program? Is there a top level vi which calls the ones you posted? The Display image on screen.vi will display two images in succession, but according to the note on the block diagram the second image is blank. It seems as though this would intentionally create a flicker.
    The sequence structure is unnecessary. Dataflow will determine the order of execution. The only exception is the time delay in the third frame. Since it has no data dependency, a single frame sequence may be useful to assure that the delay occurs before the picture is updated. A simple state machine might be a more versatile architecture for what you may be trying to do.
    It is not necessary to write the FR.PanelBounds property immediately after reading it, nor is it necessary to read it a second time in the second frame. Just wire from the first read.
    Lynn
    Attachments:
    Main Front Panel with Rendv Final Nov 6 with pause.vi ‏755 KB

  • Display Toolbar error

    Post Author: app
    CA Forum: .NET
    When I enable "Display Toolbar"  on the CrystalReportViewer I get an error when I try to display the report on a web page.  The error is "Control 'CrystalReportViewer1_ctl02_ctl01' of type 'ToolbarButton' must be
    placed inside a form tag with runat=server."  The report displays normally if the Display option is false.  What causes this error?  I need to display the toolbar.VS 2005

    Post Author: xamslp
    CA Forum: .NET
    Hi.
    Ensure that you have a form tag in your aspx page.  I just ran into this and when I removed my old CRViewer, the <form> tag went with it.
    <body><form id=frmViewer method=post runat=server>...<crviewer/></form></body>
    Felix

  • CrystalReportVIewer asking parameters again when click on buttons on toolba

    Dear all I am working on an asp .net application in which I am using crystal report for showing reports. In my application everything works fine including the reports. The real problem comes when I start clicking on the crystal report toolbar. If I click on any button on the crystal report tool bar like (Export, next page etc) it is asking parameters again. Is there any way so that that the crystal repot viewer does not ask the parameter that I have already given . I have also given true for the property reuseparametervaluesonrefresh.
    crystal report version is 10.5.3700.0
    Thank you

    Hello Swetha,
    It sounds like you're passing your parameter to the CrystalReportViewer object. If you're using the CrystalReportViewer object you'll probably want to switch to passing your parameters on the ReportDocument object instead.
    I found this related SAP Business Objects Note:  1215426 - Err Msg: "Missing parameter value" when printing or exporting in VS .NET.  Here's the content of the Note in case you can't call it up yourself:
    +++++++++++++++++
    Symptom
    A .NET application uses Crystal Reports for Visual Studio .NET as the reporting development tool.
    After the application passes parameters to the report, the report previews successfully.
    However, if you click the print or export toolbar button from the viewer,
    the following error message appears:
    "Missing parameter value"
    Why does this error message appear and how do you resolve it?
    Resolution
    This error message appears because the parameter values are only being passed to the CrystalReportViewer control, and not to the ReportDocument object (engine).
    The ReportDocument object (engine) is responsible for passing parameter values when
    printing and exporting.
    To successfully set the parameter values when you preview, print and export the report,
    you must pass the parameter values to the ReportDocument object (engine).
    For example, the following code passes parameters to the ReportDocument object (engine):
    Dim crReportDocument As CRParams
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldDefinition As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    crReportDocument = New CRParams()
    crParameterFieldDefinitions = crReportDocument.DataDefinition.ParameterFields
    crParameterFieldDefinition = crParameterFieldDefinitions.Item("Country")
    crParameterValues = crParameterFieldDefinition.CurrentValues
    crParameterValues.Clear()
    crParameterDiscreteValue = New ParameterDiscreteValue()
    crParameterDiscreteValue.Value = "Canada" '1st current value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
    CrystalReportViewer1.ReportSource = crReportDocument
    +++++++++++++++++
    Sincerely,
    Dan Kelleher

  • IR toolbar buttons not scrolling

    I have a fairly wide interactive report that is getting cut off on the right-hand side in Theme 4. Not unexpected, but the browser isn't giving my any scroll bars, which kind of was a surprise. This means I've got data that can't be seen. In an attempt to counter this, I added a div tag with an overflow style to force the region to scroll. This worked as I expected nicely, but what I didn't expect was for the toolbar buttons, (Go and Actions), not to scroll.
    Has anyone run into this?
    I've set up a quick app. to help show what I'm seeing.
    [http://apex.oracle.com/pls/apex/f?p=58111:2|http://apex.oracle.com/pls/apex/f?p=58111:2]
    I don't see this same behavior on apex.oracle.com; is this an issue that was addressed in 4.1? If so, is there a work around? I'm not sure when we'll upgrade to 4.1.1
    Our version:
    Application Express 4.0.2.00.07
    Thanks!
    Joe
    Edited by: JLiljedahl on Mar 20, 2012 9:32 AM
    Looks like an IE issue. FF 11 is fine, IE 8 isn't. Although I don't see this issue with 4.1.1 on oracle.com in IE...

    Post Author: mewdied
    CA Forum: .NET
    This will move where it looks for the images, but not where it looks for the javascript files that do the exporting and printing.  Only way to specify where the crystalreportviewer directory is located is in CR XIr2 with fixpack 2.2 or later.  In the release notes there is documentation on what you need to setup to do this.

  • CrystalReportViewer in CR2008 - Parameter panel - apply button

    Hi,
    I'm working on a .net desktop application, that uses CR embedded server as a reports engine.
    We just migrated from CRXIR2 embedded server  to CR2008 Embedded server in our new release.
    We want to use the new functionality of dynamic parameters in CR2008 in our application,
    In our client side, we wrapped the crystalreportviewer control and hid the navigation buttons and toolbars, and replaced them with our own. We also have our own parameter pannel.
    I  would like to hide the viewer's parameter panel in our client side, and add an "Apply" button to our custom parameter panel, that will apply the parameter values without refreshing the report. This is meant to keep the same look and feel with the previous version of our product.
    I found how to hide the parameter panel:
    this.reportViewer.MainCrystalViewer.ShowParameterPanelButton = false;\\MainCrystalViewer is crystalReportViewer object
    I didn't find any method that applyes the parameters.
    Please advise.
    Thanks
    Dana

    I think I found how to do it:
    public void ApplyParameters(Hashtable parameters)
                ReportDocument doc = ((ReportDocument) m_viewer.MainCrystalViewer.ReportSource);
                foreach (string param in parameters.Keys)
                        doc.SetParameterValue(param, parameters[param]);
                m_viewer.MainCrystalViewer.ReportSource = doc;
    Still testing this method.

  • Toolbar button image

    <p>dear all,</p><p>can i change crystal report viewer toolbar image folder ? i knew that in .Net version component, there is a  CrystalReportViewer.ToolbarImagesFolderUrl Property, but i can&#39;t find nearest similar property like that in CrystalReportViewer class in jrc. </p><p>i need to change toolbar image since all of button images didn&#39;t display at all. maybe it can be solved when i create virtual directory &#39;/crystalreportviewers10/&#39; manually in my Tomcat and then create &#39;/images/toolbar/&#39; folder inside it, but what i exactly need is place all of toolbar button images in the same WAR file with my java app.</p><p>thx for any clue !!</p><p>- victor -  </p>

    <p>Does this help?</p><p> </p><p><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2014519">http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2014519</a></p><p> </p><p>Sincerely,</p><p>TUeda <br /></p>

  • Disable "Main Report" on CrystalReportViewer in CR 12

    There is a "Main Report" button when the CrystalReportViewer is displayed. What is its purpose? How do I disable it? I've disabled several other items:
                    viewer.ShowGroupTreeButton = false;
                    viewer.ShowRefreshButton = false;
                    viewer.ShowParameterPanelButton = false;
                    viewer.ToolPanelView = ToolPanelViewType.None;
    but how do I turn off the "Main Report" button?

    @Ludek: the example you mention does not work. When I walk through the controls collection, the PageView-control doesn't contain any control.
    Here the controls I found:
    PageView
    Splitter
    ReportGroupTree
    TotallerTreeview
    InteractiveParameterPanel
       - Panel
       - Toolbar
       - ToolStrip
       - ToolStripTextboxControl
    StatusBar
    so no TabControl there !
    PS. I use VB.Net 2008 with CR 2008 SP3.
    Any ideas,
    Patrick
    Edited by: PatSim on Sep 16, 2010 9:34 AM

  • CrystalReportViewer resizes images and charts

    I've got a nasty bug with CrystalReportViewer that I can't solve.
    When the asp-website shows a report every image (and chart) is resized to about 15x15 pixels (measured with eye). Even toolbar images are resized and it looks kind of nasty. The same problem occurs even if I create a blank webpage (to same project) with just the report I want to show. When I export the report, all images are just fine. I don't have a clue what might affect this crystal report viewer but I hope you have.
    I'm developing with CR 2008 in visual studio 2008. Project is with ASP and c#.
    I've got the same problem with (at least) following:
    - Both Crystal Reports embedded and Crystal Reports 2008.
    - XP and Vista
    - Firefox and IE

    The images and charts vary from about 20x40 (which is streched from side to side as a separator bar) to over 200x200px. One chart is almost as wide as the report. The original size does not affect the result since every chart and image is resized for some reason to that small size. And every chart and picture will show as the same size.
    I tested only with pdf-format because I presume that the problem occurs only in the website. Could something affect the image handler of crystal reports?
    I haven't installed that SP 0 because it is for older version of CR 2008

  • Application stuck under menu toolbar

    An application I'm running (Filezilla FTP client) is stuck under the mac menu toolbar. I can't grab the toolbar of the application to move it or access what I need to access. I've researched this issue and other people have had the same problem, but none of their solutions have worked for me. I've tried changing the resolution of my screen, disconnecting my dual monitor, "zoom" is not available in the program I'm working with, and I've tried a multitude of expose/spaces/random key commands to no avail. Any other ideas?
    Using 10.9.5

    I can't see from your screenshot if there available screen space around the window. You could try dragging the window down from one of the bottom edge - making it smaller first if necessary (when the cursor is near the edge it has double arrow that indicates changing the window size), then make sure that your mouse is enough inside the window that the cursor is a normal one-arrow and drag it down. Repeat if necessary until the title bar reappears.

  • ALV .  How to remove the sort buttons on toolbar in ALV report?

    Hi,experts
      As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
      Thanks for your help .

    Hi guixin,
    1. Before calling REUSE_ALV_LIST_DISPLAY
    2. Write this code :
    data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.
    exclwa = '&OUP'.
    append exclwa to excl.
    exclwa = '&ODN'.
    append exclwa to excl.
    3. Then while calling the FM,
       pass this parameter also .
    IT_EXCLUDING     = excl
    It will work fantastic.
    regards,
    amit m.

Maybe you are looking for

  • Single sign-on and custom DBLoginModule

    Hi, I need help in making sso work. I have Application Server version 10.1.3.1.0, I've developed application in JDeveloper 10.1.3.3. that uses form based login and when deployed to server I can normally login/logout. Now I want to enable single sign

  • Trying to Locate Email Address For HP LaserJet Pro P1606DN

    I am trying to locate my HP LaserJet Pro P1606dn email address for e-printing. The HP site says to use the two-line screen, but my printer has no screen. Please help.

  • Why can't I connect to a new wifi?

    Why can't I connect to a new wifi? When I click on the wifi account it takes me to the IP Address page not the password page.

  • Weblogic Server 9.2 MP 3 for Solaris x86

    Does anyone know where I can download weblogic server 9.2 mp 3 for Solarix x86. I have spent my entire day looking for it in support.oracle.com (metalink) and oracle download pages but nothing has turned up so far.

  • Reading RH_STRUC_GET bottom to top

    Does anybody know if it is possible to read te orginization structure from the lowest level to the highest level, so starting at Pa0001-orgeh to the highest level in the tree??