Microsoft Report Viewer 10

-->

The Report Viewer controls can be used to integrate Reporting Services RDL reports into WebForms and WinForms apps. For detailed information about recent updates see the changelog.

Microsoft

Adding the Report Viewer control to a new web project

WSUS 2016 error: Report Viewer 2012 Redistributable is required for this feature. He Microsoft Report Viewer 2012 Redistributable is. MICROSOFT® REPORT VIEWER. Hi, In WSUS, i am Unable to install Microsoft Report Viewer Redistributable on Windows server 2016. When i am click on any system to check its Status Report then it's showing Microsoft Report Viewer Redistributable feature require. To obtain the latest supported versions of the Office viewers, go to the following Microsoft websites: Visio 2010: Visio Viewer. Note Office viewers must be updated to a supported service pack level in order to remain in support. Use the following table to obtain applicable service pack information. Microsoft Report Viewer control enables applications that run on the.NET Framework to display reports designed using Microsoft reporting technology. This redistributable package contains Windows and Web versions of the Report Viewer. For more information about Microsoft reporting technology, click here.

  1. Create a new ASP.NET Empty Web Site or open an existing ASP.NET project.

  2. Install the Report Viewer control NuGet package via the NuGet package manager console.

  3. Add a new .aspx page to the project and register the Report Viewer control assembly for use within the page.

  4. Add a ScriptManagerControl to the page.

  5. Add the Report Viewer control to the page. The snippet below can be updated to reference a report hosted on a remote report server.

The final page should look like the following.

Updating an existing project to use the Report Viewer control

Microsoft Report Viewer Version 10

Make sure to update any assembly references to version 15.0.0.0, including the project's web.config and all .aspx pages that reference the viewer control.

Sample web.config changes

Sample .aspx

Adding the Report Viewer control to a new Windows Forms project

  1. Create a new Windows Forms Application or open an existing project.

  2. Install the Report Viewer control NuGet package via the NuGet package manager console.

  3. Add a new control from code or add the control to the toolbox.

How to set 100% height on the Report Viewer control

If setting the height of the viewer control to 100% the parent element is required to have a defined height, or all ancestors are required to have percentage heights.

Setting the height of all the ancestors to 100%

Setting the parent's height attribute

For more information about viewport percentage lengths, see Viewport-percentage lengths.

Adding control to Visual Studio toolbar

Report Viewer 2019

The Report Viewer Control is now shipped as a NuGet package and no longer shows in the Visual Studio toolbox by default. You can add the control to the toolbox manually.

  1. Install the NuGet package for either the WinForms or WebForms as mentioned above.

  2. Remove the Report Viewer Control that is listed in the toolbox.

  3. Right-click in anywhere in the toolbox and then select Choose Items....

  4. On the .NET Framework Components, select Browse.

  5. Select the Microsoft.ReportViewer.WinForms.dll or Microsoft.ReportViewer.WebForms.dll from the NuGet package you installed.

    Note

    The NuGet package will be installed in the solution directory of your project. The path to the dll will be similar to the following: {Solution Directory}packagesMicrosoft.ReportingServices.ReportViewerControl.Winforms.{version}libnet40 or {Solution Directory}packagesMicrosoft.ReportingServices.ReportViewerControl.WebForms.{version}libnet40.

  6. The new control should display within the toolbox. You can then move it to another tab within the toolbox if you wish.

Common issues

The viewer control is designed for modern browsers. The control may not work as expected if the browser renders the page using IE compatibility mode. Intranet sites may require a meta tag to override default browser behavior.

Feedback

Let the team know about issues on the Reporting Services forums.

See also

Microsoft Report Viewer Parameters

Data collection in the Report Viewer control
More questions? Try the Reporting Services forum