Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I had worked with RDLC report in my project previously. When I am using it for the second time the report viewer window is not coming on the screen, only in the bottom it is showing as reportviewer1.

What I have tried:

I am using Visual Studio 2022 and installed report viewer packages like below: Microsoft.ReportViewer.Runtime.WinForm Version: 12.0.2402.15 Microsoft.SqlServer.Types Version: 12.0.5000
ReportViewerCore.WinForms Version: 15.1.17
Posted
Comments
Richard Deeming 5-May-23 3:42am    
There's obviously a secret error somewhere in your secret code. You should fix that.

Seriously, nobody can help you fix your code if we can't see it. Click the green "Improve question" link and update your question to include the relevant parts of your code.
Member 11811771 5-May-23 10:34am    
I have added this line of code in Designer.cs
this.Controls.Add(this.reportViewer1);
Now, it is working fine.
Thank you so much for your time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900