I am attempting to build a module that will allow showing reports in DNN using the MS ReportViewer control.
The app I am working with requires the ability to provide multiple reports from a general report form.
I have looked into the
tutorial by Michael Washington and I am still having problems. There seems to be very limited information on this so I would appreciate any help or ideas as to an alternative solution that may be easier. I am working on Studio 2005 and currently on a DNN version of 4.9.4. I have created a form that has multiple dropdowns that will select the required data for any parameters for the reports and added the report viewer control I compiled it an have run it on the site with no errors.
Next I created a data set and a simple report. When I compiled and ran I got no errors but the report was blank.
Next I added the ScriptManager control to the module and recompiled (having made no changes to the scriptmanager control but just dropping it on the module) when I run the module now I see my simple report but get an error :
Module Load Warning
One or more of the modules on this page did not load. This may be temporary. Please refresh the page (click F5 in most browsers). If the problem persists, please let the Site Administrator know.
However the module does load and I can see the report
Questions:
- is the sriptmanager required? If so any required settings? If not why are my reports blank without it?
- If I want to use differnt reports do I have to create them all and store them in the module?
- If I want to use differnt reports do I have to create Datasets for each report that will also remain in the module?
- is there any samples of how to call different reports on the fly in code?
- IS there a better or more importantly easier way to create a report module in DNN? Something with some more details that i can learn how to do this?
I understand that I have asked questions that may be general what I am looking for is some direction to either find some learning resources that may be useful in order to continue with the reportViewer or some direction as to what would be a better solution.
thanks