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

Generating Report... constantly spins report never shows

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eliott
Top achievements
Rank 1
Eliott asked on 25 Apr 2013, 06:49 PM
I was having trouble with the telerik Report Viewer not displaying the report that it was set to, no code behind and everything declared in the control. So I removed the control and all the settings and placed another telerik Report Viewer on a new page in the same project and had the same problem. While researching the problem, I found my computer worked with the telerik demos and I created a new project and tested the telerik Report Viewer on a new page in a bare project and it displayed as expected showing the message: The source of the report definition has not been specified.

So the problem was definitely with my project. After some more research in the telerik forums I found that another control had a problem because of the custom headers. In that thread they had mentioned if you set X-Frame-Options in your web.config to "DENY" it will cause problems with the control due to the control using an IFRAME and that using "SAMEORIGIN" should work. For me the entry in web.config looked like this:
<system.webServer>
  <httpProtocol>
    <customHeaders>
      <add name="X-Frame-Options" value="SAMEORIGIN"/>
    </customHeaders>
  </httpProtocol>
</system.webServer>

Hopefully this information helps anybody else maybe having similar problems.

Other thread that helped me resolve the issue.
http://www.telerik.com/community/forums/aspnet-mvc/upload/uploader-does-not-under-ie-when-x-frame-options-deny-header-is-set.aspx


1 Answer, 1 is accepted

Sort by
0
kenneyy kenn
Top achievements
Rank 1
answered on 28 Aug 2013, 03:47 PM
The following properties of the ReportViewer control also give rise to this issue
Width: 100%
Height: 100%

Solution: change the '%' sign to 'pc' (pica) - I'm afraid pica and percent are not the same thing but Telerik seem to think they are.
Tags
General Discussions
Asked by
Eliott
Top achievements
Rank 1
Answers by
kenneyy kenn
Top achievements
Rank 1
Share this question
or