I have a website that I am developing. The site consists of 20 reports. The list of reports available to the user would be filtered by the users security level. I have the report names and descriptions set in an SQL Table on the server.
I have a reportviewer.aspx page where I would like to pass the name of the report to be viewed to the viewer based on the report selected from a radgrid. The reports themselves are created in a "reportlibrary" project in the same VS solution. I know I can hard code the code behind to select the correct report but I don't want to recode the page everytime a new report is created. Is there an easy way to set the report property on the reportviewer object to the name of the report:
This what I have:
This is what I would like to do:
I have a reportviewer.aspx page where I would like to pass the name of the report to be viewed to the viewer based on the report selected from a radgrid. The reports themselves are created in a "reportlibrary" project in the same VS solution. I know I can hard code the code behind to select the correct report but I don't want to recode the page everytime a new report is created. Is there an easy way to set the report property on the reportviewer object to the name of the report:
This what I have:
This is what I would like to do:
Doug