Scenario: Sharepoint Foundation 2010 with a Visual Web Part on the page. When trying to print from the client side, I'm receiving the dreaded "ReportViewer is undefined" javascript error. I've gone through the KB article, with the following results:
1. Web.config was properly set up. Replaced everything just to be sure, same result.
2. It's Sharepoint 2010 - it's supposed to run in Integreated mode.
3. No compression set up. Disabled any compression options in IIS7. Same result.
4. The full text of the script resource appears. There are no errors accessing the resource in this manner.
5. Added the location tag. Same result.
6. Script is after the ReportViewer. Same result.
7. There are no requests for that path showing in Fiddler. When I go directly to that URL (as in step 4), no errors are displayed.
What am I missing here? Or is this just another example of controls not loading properly when used in Sharepoint?
1. Web.config was properly set up. Replaced everything just to be sure, same result.
2. It's Sharepoint 2010 - it's supposed to run in Integreated mode.
3. No compression set up. Disabled any compression options in IIS7. Same result.
4. The full text of the script resource appears. There are no errors accessing the resource in this manner.
5. Added the location tag. Same result.
6. Script is after the ReportViewer. Same result.
7. There are no requests for that path showing in Fiddler. When I go directly to that URL (as in step 4), no errors are displayed.
What am I missing here? Or is this just another example of controls not loading properly when used in Sharepoint?