Using Visual Studio 2010, I have a web page with a working ReportViewer connected to a SQL DB. I now want to have that control hidden until a user clicks a button.
I have set the ReportViewer visible property to false, created a button, and have written in it's click event myReportViewer.visible = true;
Run it, but nothing happens when clicking the button. What else do I have to do to make the reportviewer visible and refresh it's data?