I am working with Visual Studio 2017. Add a ReportViewer control to a form and it is not displayed on the form itself.
I see that the solution adds the necessary references, the control is seen in the document outline and it adds a bottom bar, I imagine to control the reports it shows, but the control itself in the form remains absent.
And tried adding the control from extensions and updates, adding Microsoft's RDLC report designer. Also from the NuGet package manager adding Microsoft.ReportingServices.ReportViewerControl.Winforms and then adding its library to the project but in both cases the result is the same, the control is not displayed.
There are already some questions created related to this, however none has a solution yet, perhaps it was necessary to be more explicit. does anyone have an idea how to fix it?
I include this image showing that the control is available in the IDE.
Install the extension for Visual Studio 2017
Microsoft Rdlc Report Designer for Visual Studio
Install the libraries in your project
Microsoft.ReportingServices.ReportViewerControl.Winforms
Add NuGet downloadable library reference to Toolbox
Clever! Just select and drag to your form!
Friend, the solution as you mentioned is to redo the procedure, but try to do it now in another way:
1- Remove if you already have ReportViewer from the VS2017 toolbox
2- Open the package manager console (Menu Tools / NuGet Package Manager / Package Manager Console)
3- copy and paste the following command:
4- Add the control to the ReportViewer toolbox of new account.
5- Re-add it to your winform and try again.
I leave you a link of the procedure that applies to webforms , good luck friend.
A different option would be the following:
1) Install the extension for Visual Studio 2017
Then we go to Online and in the search engine we write the name of the extension
2) Install the library in your project
Make sure it is the version for WinForms
3) We add the library in the toolbox
Inside our project we look for the library file
With all this I would be ready to work