SharePoint Report viewer control JavaScript API

Hi,
We are using SharePoint report viewer web part to show SSRS reports in SharePoint 2010. We need to perform some HTML manipulation (to avoid scrollbars) after the report has completed loading. 
- What is the best way to identify report loaded event in client side JS?
- I have read about client side JS API for report viewer control in ASP .NET. Does SharePoint report viewer webpart have the similat functionality?
Thanks

Hello,
I think this thread will help you:
https://social.technet.microsoft.com/Forums/en-US/104d59f5-e6db-4933-8c5f-2f06ac116bfe/remove-report-viewer-scrollbars?forum=sharepointgeneralprevious
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • Is there a report viewer control for html5 using javascript?

    VS 2005,2008,2010,2012
    SSRS-2008,2012
    I want to be able to create a simple report viewer that will run on ios, android, and win8 devices.
    I believe that the solution lay with the concept of HTML5 and javascript.
    If I use aspx and vb also HTML5, then don't I run the risk of the target device not having the required .net lbrary?
    Is that correct? Or does the server alone need the library? what about printing or saving as PDF options on the client side?
    So is there a SSRS report viewer control that I can use to create a report that runs on any device that supports HTML5? I want it to look professional.
    Or any technique or tutorial that I can look at to accomplish this goal?
    Thanks
    Jerry C 

    Hi Jerry,
    To work around this issue, you can write .aspx pages using html 5 and use ReportViewer control or iframe to display the report. For more information, please see:
    http://www.hanselman.com/blog/AnnouncingTheWebStandardsUpdateHTML5SupportForTheVisualStudio2010Editor.aspx.
    Since the ReportViewer itself uses Ajax, if the mobile device doesn't support that, you're better use some type of front end code to pull data from a web service and render it.
    Besides, according to the document
    View Reporting Services Reports on Microsoft Surface Devices and Apple iOS Devices, to view and interact with a report on iPad device or Microsoft Surface device, there are several methods:
    from Email subscription
    from Windows Azure portal
    from Report Server
    from Report Manager
    from a SharePoint document library
    from SharePoint web part
    So, it seems impossible to view report through Report Viewer control on mobile devices.
    Reference:
    http://forums.asp.net/t/1863129.aspx/1
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Report Viewer control in sharepoint 2013 provider hosted app

    sharepointSite/_vti_bin/ReportServer
    We are migrating sp 2010 site to SP 2013 provider hosted app. we are using Report viewer control (version 10.0.0) in .net application app server, And the reporting service is configured in sharepoint site and report is uploaded in the document
    library. We are using claims based authentication
    ReportViewer1.ServerReport.ReportServerUrl =
    newUri("sharepointSite/_vti_bin/ReportServer");
    ReportViewer1.ServerReport.ReportPath = @"sharepointSite/_vti_bin/ReportServer?sharepointSite/Reports/Report1.rdl";
    and am getting an error
    ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote errors]
    [ReportServerException: The user does not exist or is not unique.]
    [ReportServerException: Report Server has encountered a SharePoint error. (rsSharePointError)]
       Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e) +82
       Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.ProxyMethodInvocation.Execute(RSExecutionConnection connection, ProxyMethod`1 initialMethod,
    ProxyMethod`1 retryMethod) +770
       Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession() +105
       Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +163
       BP.SDC.eXPP.UIAppsWeb.UserControls.Baseline.ProgressDashboard.RefreshDashboardReport(Int32 userRoadMapDisciplineId, String roadmapSection)
    System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
    Can you please help me to solve this issue

    Hi,
    According to your post, my understanding is that you had issues about the provider hosted app.
    Per the error, the issue may be related to the permission issue.
    For a better troubleshooting, we can check with the following steps.
    To norrow down the issue, please create a new and clean app to test whether it has the same issue.
    You can check the ULS log to see if anything unexpected occurred when you deploy the app and open the site page.
    For SharePoint 2013, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • SSRS reports are not fitting properly in Report Viewer Control

    Hi All,
    We are using Report Viewer Control to render SSRS reports & show it on SharePoint web page. In .aspx page we are putting Report Viewer Control as follows:
    The zoom percent of Report we are getting from Report Server is 100%. We are making it as 50% to show it on our page. On one page, we are showing 2 reports.
    <rsweb:ReportViewer ID="rpv2Chart1" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" Height="211px" Width="813px" ZoomPercent="50"></rsweb:ReportViewer >
    The reports are coming. But the reports which we are getting inside the control are not readable & 25% of Report Viewer Control on our right hand side is blank.
    As you can see it's not readable. For readability we want to use that white space also & want to utilize full controls's space. But if we try to increase percentage from our report viewer tag, then the graph is zooming in with both, height & width
    so it's going out of control.
    Client don't want scroll bars on Report Viewer control. We just want to utilize the entire Report Viewer Control space.
    Can anyone suggest us how to do that?
    Thanks,
    Sanjay

    Hi Sanjay,
    I'm afraid that it is not the correct forum for this issue.
    If it is the SSRS issue, you could post this issue here:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    If it is the VS report control issue, maybe you would get better response here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS web based report viewer control rendering issues - text getting clipped chopped off

    Hi,
    I am using web based SSRS report viewer control to display SSRS reports in browsers like Chrome, FF, IE, Safari etc. My issue is some text is getting chopped off (clipped) in all cells of some reports. I investigated on my end by analyzing generated HTML
    and I could see a problem in the HTML that report viewer control is generating. But I am afraid to apply any HTML or Javascript hacks at the moment considering we have hundreds of reports.
    You can see in above image how text got chopped off. The problem in HTML (given below) is the text has been wrapped in a div tag with a fixed height. If I remove the height and also padding on parent TD, the text appears properly.
    <td class="A23dfe7c5f99245f2a0db522a22a6035597c" style="HEIGHT:5.00mm;background-color:#d3d3d3;"><div style="HEIGHT:3.24mm;overflow:hidden;"><table lang="en-US" cellspacing="0"
    cellpadding="0" border="0" class="Pd9776e5f7eaf4df696265b8b49d1da39_1_r17"><tbody><tr><td class="A23dfe7c5f99245f2a0db522a22a6035597" style="word-wrap:break-word;white-space:pre-wrap;">MyType11</td></tr></tbody></table></div></td>
    Please let me know if you have faced a similar scenario before.
    Here is link to stackoverflow thread -
    Stackoverflow thread
    Regards
    Murtaza

    Hi Murtaza,
    According to your description, when you display the report with Report Viewer control, the data within the text is cutoff.
    Based on my research, the issue could cause by that Arial Unicode MS font hasn’t been installed on the server where Reporting Services run. Besides, when we use ReportViewer control to render report, we’d  better set
    AsyncRendering="true" in the Report Viewer control. Also please run the IE with compatibility mode. For more information, please refer to similar threads below:
    Data in column getting cut-off in report viewer control
    SSRS Rendering Issues
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Report Viewer control disabled in aspx page

    Hi All,
       I am trying to generate a report with data pulled from one of a SharePoint list and binding it to report viewer control. The binding happens fine through code. Page is actually a layout based and deployed to one of folder in layouts and in the
    same folder the rdlc file resides. But when the aspx page is opened in SharePoint site, the report viewer control appears as disabled. We are using visual studio 2012 and SharePoint 2013 setup to generate the report. Does anyone have idea how to fix this
    issue
    Regards RCP

    You can get the report viewer disabled if scripts aren't enabled.
    Check your browser settings.
    I should imagine if the correct scripts aren't served with the control for whatever reason then the same problem could occur.
    You might want to consider posting the question on the sharepoint forum.  I know configuring SharePoint is notoriously tricky and that might be your issue here. 
    But I don't do sharepoint.

  • Problem in crystal report viewer control's toolbar "export"button using SSL

    Hi,
    I would like to ask. My project is using BO XI Release 2 and VS-Studio 2005. Initially my project doesn't use SSL... At that time when i view the report with crystal report viewer control and can export (using built-in toolbar "export button"). Now project is using SSL and canu2019t export the error is
    u201CInternet Explorer cannot download file from server.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.u201D
    Actually this error can solve "Cache-control" change to "no-cache". But I donu2019t know in crystal reportu2026
    Anyone can help ???
    Thanks

    In Internet Explorer, go to Tools -> Internet Options -> Advanced and ensure "Do not save encrypted pages to disk" is unchecked.
    Default is to have that option checked. 
    It was considered a IE security issue that IE saves all content to temp disk location unencrypted, even those pages served by HTTPS (for example, let's say you use HTTPS to download your bank info, and it's stored to temp disk for someone else to retrieve later).  So more recent versions of IE implemented that option setting.
    How that option setting works is strange - it downloads the file, saves to disk, then deletes the copy from the disk immediately, before passing it to the application responsible for the MIME type.  So the application tries to open a directory path to a non-existing file.
    Issue is specific to IE, and it's not something you can control via the SDK.
    Sincerely,
    Ted Ueda

  • Crystal Report Viewer Control error

    Please Help, I have a web application developed in .net 2005 which is using crystal reports developer product version 10.0.0.533.
    This web application with crystal is working fine on my local machine with OS windows xp, but on the windows server 2003 the application web form is running into "couldnot load file or assembly 'CrystalDecision.VSDesigner, Version=10.0.0.3300' or one of its dependencies"
    I have compared the assembly information of my local machine with that of the server and could not see the crystaldecision.vsdesigner version 10.0.0.3300 on the server 2003. I have uninstalled microsoft .net 2005 and crystal reports and installed crystal first and visual studio .net 2005 next and vice versa but still could not see that particular assembly available in the windows 2003 server.
    Please suggest as what to do for the assembly to be available on the server so crystal report viewer control can be created with out error. Thanks for any help.

    Hello Sunitha,
    Visual Studios 2005 ships with a bundled edition of Crystal Reports.  This bundled edition is based on the v10 code stream, but it is not CR10.  It's CR.NET for Visual Studios and it's v10.2. Crystal Reports 10.0 and the bundled CR.NET 10.2 for VS2005 are not interchangeable.
    The stand alone version of Crystal Reports 10 is not expected to integrate correctly into VS2005.  If you have CR10 Developer installed on your VS2005 machine you can force VS2005 to use the CR10.0 assemblies, but it is not supported.
    You need to clean up your application so that it's referencing the 10.2 version assemblies and then deploy the 10.2 runtime files.  You can visit the [Crystal Reports for Visual Studio .NET Runtime Distribution - Versions 9.1 to 12.0|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReportsruntimeforVisualStudio.NET] Wiki for a nice overview of the various versions of Crystal Reports, as well as a listing of the runtime files to match the version of Crystal Reports that is being used.  For VS2005 and bundled CR.NET look at the "CR 10.2 (VS .NET 2005)" section of the Wiki.
    Sincerely,
    Dan Kelleher

  • SSRS & Report Viewer control - Show the print button and fire print for multi page report in Mozilla & Chrome

    I have reports in SSRS. I am using remote reports. Reports have multiple pages.
    In IE, the print button displays, but in Firefox and Chrome, it does not display.
    Below links shows how to display the print button for mozilla and chrome. These solutions only fire the print for the
    current page in the report viewer-
    http://stackoverflow.com/questions/951009/sql-reporting-services-print-button-not-shown-in-mozilla
    http://stackoverflow.com/questions/4208457/ssrs-print-button-in-chrome-and-firefox
    I need to be able to issue a print command for all
    pages in one go from the reportviewer.

    Hello,
    The common workaround about print button on ReportViewer control for non-IE browsers is add ActiveX print control or create Print function. It has pros and cons.
    I am not good at programming. But you can try to disable page breaks by setting InteractiveHeight to 0 so that the report will rendering in single page with Report Viewer control.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Fonts are not diplayed correctly in the Crystal Report Viewer control

    Post Author: Farid
    CA Forum: General
    Hello,
    I have designed a report in the Crystal Reports XI Designer (version 11.5.3.417) using the default printer. When I view it through the preview mode of the Designer, fonts are displayed like expected using the default printer driver.
    Now, I view this same report at run time in the Crystal Report Viewer control on the same computer with the same default printer. Fonts appear then differently they were in the preview mode : sizes are differents and some texts are truncated. It seems that the default printer driver are not used.
    Can anybody tell me if this behaviour is normal ? If it is the case how should I do to display a report in the Report Viewer using the default printer driver like I have specified it in the Designer.

    Post Author: V361
    CA Forum: General
    You may want to select the "no Printer" option instead, this will force CR to use a higher resolution.  Look in page setup, printer options.

  • I couldn't use Crystal Report Viewer Control in my ASPX page.

    Please I'm having a problem with crystal report viewer control which I couldn't resolve. I'm using VS 2008 and Framework 3.5.
    I building an ASP web application and when I add a CrystalReportViewer to my ASPX page I'm getting the following
    error.
    "Error     20     Type 'CrystalDecisions.Web.CrystalReportViewer' is not defined."
    I think maybe because I'm not having the right reference file. I'm using Crystal Reports 2008 and also I installed the following
    Service Packs:
    cr121_redist_install
    CR2008-SP1
    CR2008SP1-Fixes 1 and 2
    cr121_clickonce
    I check all the reference files in my project and they are as follow:
    CrystalDecisions.CrystalReports.Engine  (12.0.2000.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.CrystalReports.Engine.dll
    CrystalDecisions.Enterprise.Framework  (12.0.1100.0)
    C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.Framework.dll
    C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.InfoStore.dll  (12.0.1100.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.ReportSource.dll  (12.0.2000.0)
    C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Shared.dll  (12.0.2000.0)
    Please Why I'm getting this problem? How I can resolve it?
    Thanks.

    If you have a viewer on one of your forms, delete it off the form and re-add it, ensuring that the crystalreports.web assembly referenced in your project is version 12.
    Ludek

  • Crystal Report Viewer Control on SAP Form?

    We are using Crystal Report XI to create custom SAP reports.  We have integrated this into our Add-On by adding the Report Viewer Control to a Windows form and setting it's report source at runtime.  This works ok but is a bit cludgy looking and causes some focus and redraw problems with SAP.  I have tried for weeks to figure out how to get the ActiveX control onto an SAP form but with no luck.
    Here is my code sample:
    SAPbouiCOM.Item oItemX;
    SAPbouiCOM.ActiveX oActX;
    CrystalDecisions.Windows.Forms.CrystalReportViewer oCRX;
    oItemX = this.sboForm.Items.Add("U_CRCtl", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X);
    oItemX.Left = 0;
    oItemX.Top = 0;
    oItemX.Height = this.sboForm.Height;
    oItemX.Width = this.sboForm.Width;
    oActX = (SAPbouiCOM.ActiveX) oItemX.Specific;
    oActX.ClassID = "{5E093535-5A5D-4E72-ACCD-F10B6D065BC9}";
    oCRX = (CrystalDecisions.Windows.Forms.CrystalReportViewer) oActX.Object;
    oCRX.ReportSource = @"c:\Test\Test.rpt";
    I am not sure why this will not work.  I always get either 'Specified cast is not valid' or 'Invalid Class ID'.  If anyone has done this successfully or has any suggestions that would be great!  Thanks for your help!
    David

    Hi Ibai,
       Thank you for your interest in CrystalWave. I tried sending this info to the email address you gave but got an undeliverable message.
    The links are as follows:
    (please use Internet Explorer while accessing the download link)
    1. CrystalWave info: http://www.twbs.com/CrystalWave.html
    2. CrystalWave download: http://www.twbs.com/cwrfiv2004.asp (You need to fill in your info and the download will start.)
    Please do let me know if you are not able to access these links and I can setup a temporary link for you to download the program.
    Thanks,
    Gopal Viswanathan

  • Detail section in Report Viewer Control rendered bad in IE 6/7 ???

    Hi,
    independent of checking the "no printer" option or select the same printer in Visual Studio Report Designer as on the deployment server the details section of Crystal Report Viewer Control is not rendered correctly in IE 6/7!!!
    But looks fine in Firefox ?!?
    Any ideas?
    Thanks, M.
    Edited by: Markus Schfer on Aug 19, 2008 9:24 AM

    First: i have to excuse me, `cause all sections (header,detail and pagefoot) are rendered strange. It seems that all data is crimped into one column on the left side?!?
    I expected something like this:
    Name     LastName     Birthday       City
    Value Value Value Value
    etc.
    But I get from IE 6/7:
    Name    
    LastName    
    Birthday      
    City
    Value    
    Value           
    Value          
    Value
    Do you better understand my problem now ????
    I hope so
    Thanks a lot!
    M.

  • CR2010 Report Viewer control crashes application when deployed

    I have been using the latest release for CR2010, on a Win 7 x64 machine running VS2010 targeting .Net Framework V4, and all is working fine.
    However, when I publish my WPF application as an x86 client and deploy to a WinXP machine, the Report Viewer control crashes the application.
    Any clues out there?

    Yes there is not much to go on. As I described, the symptom is a crashed application - nothing else I can tell you. When you select a report to load into the Report Viewer control - down it goes with nothing more than a "send this dump to microsoft" message.
    I do have some further enlightenment however. I can deploy the application to the standalone machine straight out of the Release bin and it works fine. Given that is the case I can rule out the CR2010 run time install as the issue. What I suspect is the problem is that the individual report files (.rpt and .cs) are not being packaged by the VS2010 publisher.
    There may be a way to do this, but I do not know of it at this point in time, so I have marked this problem as having been solved, but I would like to know if anyone has a solution to the deployment of CR files using VS Publish.
    Thanks

  • Ad hoc reports in Report Viewer control

    I've been looking all over the web to find an answer to my bosses question.  Can a report viewer control be used to create a report from scratch, or does it have to be a report already designed in SSRS.
    Edward R. Joell MCSD MCDBA

    You probably are looking for real web based ad hoc ssrs reporting solutions.
    SSRS Ad Hoc Web Reporting has already existed. It is super easy to use and even a ten year old kid can create SSRS reports with it. You can also use it to create and modify SSRS reports from your mobile devices such as IPad, IPhone, Android Phone or Surface.
    See this youtube on how easy SSRS reports can be creates.
    http://www.youtube.com/watch?v=CxQLX5UxIik
    You may try it yourself.
    http://www.ssrsreporting.com

Maybe you are looking for

  • TV @nywhere Line-In Problem

    I have a tv tuner card that I have been using for the past few months to play ps2 on my pc. I just had a RAID-0 Card installed on my pc, and now when I try to use the MSI PVS software to play games, I get video from my ps2, but the sound comes from t

  • Difficulty getting a count

    Given a table that looks like this: ALLOC_NUMBER ALLOC_PCT 88888 2.71428571 88888 0 87777 -2.7142857 85555 11.0429273 I want to group by alloc_number and determine if the sum of the alloc_pct in that group is > 0. If so, return a count of all alloc_n

  • Keynote presentation style

    I'm trying to replicate the Keynote functionality seen in the Apple Web site page describing widgets for iBooks: http://www.apple.com/education/ibooks-textbooks/gallery.html (see the Gorongosa landscapes). It's pretty cool how the user seems to be ta

  • Is there a reason why this video won't load/play ?

    I use a Macbook OSX 10.4.11 and Safari 3.1.2 All apple updates installed. I want to watch this short football video but when the page loads all the vid screen shows is a black square for a second and then just white. There is no picture or sound at a

  • Collect Files with .r3d/RED files

    Does AE CC or CC 2014 finally collect .r3d (RED) files properly?  .r3d files are split into segments, and previously, when collecting, AE would only take the first of the segments, ignoring the rest, leading to corrupt projects and incomplete archive