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

Issue Displaying Report!

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 23 Aug 2010, 09:17 PM
Hello,

I currently am using the trial version of Telerik Reporting. I am able to view the website on my local machine and the reports look great; however, when I moved everything to the web server, and try to view a report, the "Generating Report" message is displayed but when it is done, the screen just goes blank where the report would normally show up. I am able to select options along the top of the report viewer like Next Page, Print, and even Export. When I export the report to PDF it shows up just fine, so I'm not sure why it won't show normally.

Any ideas as to why would be amazing!

Thanks,
Casey

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Aug 2010, 02:30 PM
Hello Casey,

If the loading message is displayed while loading the report this means it is properly connected to data and the ability to export confirms that. The only reason I could think of for this behavior to occur is if you have set height to the viewer in percent (e.g. 100%), but have not applied height to the rest of the DOM tree. Try the following:

<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head runat="server">
    <title>telerik Report Viewer</title>
    <style type="text/css">  
    form#form1, div#content
    {
        height: 100%;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">             
    <div id="content"><telerik:ReportViewer ID="ReportViewer1" runat="server" height="100%"/></div>
    </form>
</body>
</html>

In some cases you would need to remove the default doctype (or use a less restrictive one) if your browser is Internet Explorer 6 for example.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Casey
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or