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

Problem with ReportViewer (Q1 2014) rendering in IE 10 or 11

8 Answers 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
gc_0620
Top achievements
Rank 1
gc_0620 asked on 03 Mar 2014, 06:12 PM
Folks,

using UI for ASP.NET AJAX Q1 2014, Telerik Reporting Q1 2014 with VS 2010.

When displaying the Report from web pages in IE(V10 or IE V11), the Report viewer is BLANK. 

The page count still says 1 of 3, and you can scroll through 3 blank pages. 

Also, after exporting to PDF, when you open the PDF file on a computer, it looks just fine; no blank pages. Any ideas? 

Thanks for your help.

gc_0620-


PS: This was all working correctly under Telerik Reporting Q3 2013 before I updated to the latest versions (Q1 2014) of all Telerik products... Please refer to attached.

Below is Report Viewer Declaration

<telerik:ReportViewer ID="ReportViewer1" runat="server" Style="border: 1px solid #ccc;"
          Height="650px" Width="95%" Skin="Office2007">
       <typereportsource
           
          typename="Reports.Report_CM_Assignments, Reports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
       </telerik:ReportViewer>


8 Answers, 1 is accepted

Sort by
0
gc_0620
Top achievements
Rank 1
answered on 03 Mar 2014, 10:00 PM

I was able to solve it by adding the following in the Page Load event of ASP.Net Master Page.

Thanks to all

protected void Page_Load(object sender, EventArgs e)
    {
            Response.AppendHeader("X-UA-Compatible", "IE=edge");
    }
0
Scott Smith
Top achievements
Rank 2
answered on 14 Mar 2014, 08:02 PM
Thanks. It Works. Now report viewer showing the data.

Issue - But the Export functionality is not working. Export to Excel or PDF etc. Please find attached the Screen shot.
            Not able to open the file directly or not able to save and open the file.
0
Scott Smith
Top achievements
Rank 2
answered on 14 Mar 2014, 08:03 PM
0
gc_0620
Top achievements
Rank 1
answered on 14 Mar 2014, 08:37 PM
Scott, it works on my end. which version of Telerik Report you are using and which version of IE you are using?

Thanks
0
Scott Smith
Top achievements
Rank 2
answered on 14 Mar 2014, 08:40 PM
Using (Telerik Q1 2014 - 8.0.14.225) and IE11.

Thanks!
0
gc_0620
Top achievements
Rank 1
answered on 17 Mar 2014, 11:36 PM
Hi Scott, Please check this out. See attached. Thanks

Below is my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Telerik.Reporting.Examples.CSharp.WebFormsDemo.WebForm1" %>
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
    Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="436px" Style="margin-right: 312px"
            Width="883px">
<typereportsource
            typename="Telerik.Reporting.Examples.CSharp.ProductSales, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
        </telerik:ReportViewer>
    </div>
    </form>
</body>
</html>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace Telerik.Reporting.Examples.CSharp.WebFormsDemo
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpBrowserCapabilities bc;
           
            bc = Request.Browser;
            
            if (bc.Browser == "InternetExplorer")
            {
                Response.AppendHeader("X-UA-Compatible", "IE=edge");
                
                
            }
        }
    }
}
0
Scott Smith
Top achievements
Rank 2
answered on 18 Mar 2014, 01:14 PM
The export functionality is working. Looks like it was a browser issue.

Above solution works good. Thanks!
0
gc_0620
Top achievements
Rank 1
answered on 29 Mar 2014, 11:42 PM
Scott. I am glad to help you,

Some time you need to relax being an IT Developer/Software Support, but think about life/family/kids; I am doing IT since 1986.

I am telling the same thing to Steve, Stef and Pet from Telerik,  if you are bored just listen to music.

http://www.youtube.com/watch?v=rKAcv61o4Y4


Tags
General Discussions
Asked by
gc_0620
Top achievements
Rank 1
Answers by
gc_0620
Top achievements
Rank 1
Scott Smith
Top achievements
Rank 2
Share this question
or