Solved

IE7 freezes when showing reportviewer

Posted on 2009-05-20
5
499 Views
Last Modified: 2012-05-07
When I add a reportviewer and a blank report to a simple asp.net 2008 page IE7 freezes. It works with firefox, chrome, and other versions of IE. Is there a compatability issue with IE7? Is the reportviewer production ready or is it a buggy tool? Should I rather go with crystal? I have used the reportviewer in winforms without a problem. In fact, I have classes that generate rdl from a table to generate reports on the fly. I would like to use that with web pages, but if it is buggy I do not want to go near it. Here is the asp.net page and the RDL.

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %>
 
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
 
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="400px" Width="400px">
            <LocalReport ReportPath="Report1.rdlc">
            </LocalReport>
        </rsweb:ReportViewer>    
    </div>
    </form>
</body>
</html>
 
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
 <Width>6.5in</Width>
 <Body>
 <Height>2in</Height>
 </Body>
 <rd:InitialLanguage>true</rd:InitialLanguage>
 <rd:InitialDimensions>
 <rd:UnitType>Inch</rd:UnitType>
 <rd:LeftMargin>1in</rd:LeftMargin>
 <rd:RightMargin>1in</rd:RightMargin>
 <rd:TopMargin>1in</rd:TopMargin>
 <rd:BottomMargin>1in</rd:BottomMargin>
 <rd:PageWidth>8.5in</rd:PageWidth>
 <rd:PageHeight>11in</rd:PageHeight>
 <rd:ColumnSpacing>0.5in</rd:ColumnSpacing>
 </rd:InitialDimensions>
 <rd:InitialDimensions>
 <rd:UnitType>Cm</rd:UnitType>
 <rd:Width>16cm</rd:Width>
 <rd:Height>5cm</rd:Height>
 <rd:LeftMargin>2.5cm</rd:LeftMargin>
 <rd:RightMargin>2.5cm</rd:RightMargin>
 <rd:TopMargin>2.5cm</rd:TopMargin>
 <rd:BottomMargin>2.5cm</rd:BottomMargin>
 <rd:GridSpacing>0.25cm</rd:GridSpacing>
 <rd:PageWidth>21cm</rd:PageWidth>
 <rd:PageHeight>29.7cm</rd:PageHeight>
 <rd:ColumnSpacing>1cm</rd:ColumnSpacing>
 </rd:InitialDimensions>
</Report>

Open in new window

0
Comment
Question by:mzgellis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24434872
I assume this is using MS SQL Reporting Services.  Is that correct?

mlmcc
0
 

Author Comment

by:mzgellis
ID: 24434894
No, I am not using reporting services. I would like to use the report in asp.net and populate it from a .net datatable.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24435793
Since you ask about Crystal I assume it isn't Crystal.  Is the the Data Reporting tool included with VS?

mlmcc
0
 

Author Comment

by:mzgellis
ID: 24435817
Yes its the data reporting tool included with VS, as you can see in the sample code it is Microsoft.ReportViewer.WebForms
0
 

Accepted Solution

by:
mzgellis earned 0 total points
ID: 24486249
Nobody answering, I guess it either cannot be reproduced or cannot be solved. I upgraded to IE8 and it works. I hope that this issue was specific to my my copy of IE7 and that the reportviewer works out in the field. I haven't seen on the internet anybody else complaining.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question