This is a migrated thread and some comments may be shown as answers.

ReportViewer is undefined - Sharepoint

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 20 Oct 2011, 09:09 PM
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 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Oct 2011, 05:02 PM
Hello Steve,

We will need more information in order to pinpoint the issue:
  • Please elaborate on the JavaScript you have used?
  • Do you get any JavaScript errors?
  • Do you reference the report viewer from JavaScript function?  Generally you can invoke report viewer client side functions after the report viewer is loaded? For more information check the following help article.
  • Additionally we will appreciate if you share any code/markup/configuration files that may be relevant to error to review on our end.
Greetings,
Peter
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

Tags
General Discussions
Asked by
Susan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or