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

Report not visible from Ipad

8 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 18 Dec 2013, 07:51 PM
I have a weird problem. My reports shows up very nicely in asp.net website from various browser on Windows PC (Chrome and IE), on Mac (Safari, Firefox and Chrome) and also from Android tablets but not from iPads.
I am completely lost with this problem. I can select the report parameters, I see the progress bar while the report is being prepared, I see the paging showing that there are pages available and I can see the report in print pre-view but otherwhise is not visible.
This is the way I instantiate the report:
protected void Page_Load(object sender, EventArgs e)
{
   if (!IsPostBack)
    {
        var instanceReportSource = new Telerik.Reporting.InstanceReportSource();
        instanceReportSource.ReportDocument = new Rep1.UrbanRails();
        this.ReportViewer1.ReportSource = instanceReportSource;
    }       
}
Any help will be appreciated.

8 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 19 Dec 2013, 12:18 PM
Hi Felice,

Please take a look at the following KB article: Blank report in ASP.NET ReportViewer on iPad/iPhone.

I hope this helps you.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Felice
Top achievements
Rank 1
answered on 09 Feb 2014, 12:08 PM
Hi Stef,
sorry took me some time to get back on this issue.
This is my page:
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="repOperators.aspx.cs" Inherits="report1" %>
 
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.2.14.127, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="divpagebody" class="pagebody">
        <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="640px" Width="100%"></telerik:ReportViewer>
    </div>
</asp:Content>
Please advice about what I am suppose to change to get the report online visible from Ipads.
0
Stef
Telerik team
answered on 12 Feb 2014, 05:18 PM
Hello Felice,

This is page that uses a MasterPage - MasterPage.master. In that Master Page test to apply the settings listed in the Blank report in ASP.NET ReportViewer on iPad/iPhone KB article(Switch  older DOCTYPE declaration or test the new HTML5 Report Viewer).

Let us know if you need any further help.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
olepadre
Top achievements
Rank 1
answered on 18 Feb 2014, 09:59 PM
the link provided in the answer gives a 404 error.
0
Stef
Telerik team
answered on 19 Feb 2014, 09:10 AM
Hi Robert,

Apologies for the inconvenience. Check the links at my previous post:
"This is page that uses a MasterPage - MasterPage.master. In that Master Page test to apply the settings listed in the Blank report in ASP.NET ReportViewer on iPad/iPhone KB article(Switch  older DOCTYPE declaration or test the new HTML5 Report Viewer)."

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Felice
Top achievements
Rank 1
answered on 16 Mar 2014, 09:03 AM
Hi Stef,
thanks for your directions but I am not coming right here.
This is my master page. Could you be so nice to indicate me which are the changes I should make? Alternatively, please link me to a demo with a working report rendering on Ipad! I am running around this issue now since few months.
Thanks,
Felice
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title>Railways Projects Database</title>
    <meta name="description" content="Railways Projects Database.
      Rollingstock Prices and Statistics." />
<meta name="keywords" content="Railways, train prices, tram prices,
      metro prices, Rollingstock Projects, Rollingstock Statistics, Rail Projects prices,
      Railways Prices" />
    <link href="css/StyleSheet.css" rel="stylesheet" />
    <link rel="shortcut icon" href="~/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="~/favicon.ico" type="image/x-icon" />
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="divHeaderAndMenu" class="headermenu">
            <section class="header-and-nav">
                <header id="logo" class="headerlogo">
                    <div class="header-content">
                        <div class="header-logo">
                            <div class="logo">
                                <a class="logo-image" href="home.aspx"></a>
                            </div>
                        </div>
                    </div>
                </header>
                <div id="menu" class="headernavigation">
                    <div class="headernavigation-content">
                        <nav class="primary-nav">
                            <ul>
                                <li class="primary-nav-section" id="lnkHome" runat="server">
                                    <a class="primary-nav-link" href="home.aspx">Home</a>
                                </li>
                                <li class="primary-nav-section" id="lnkLogin" runat="server">
                                    <a class="primary-nav-link" href="login.aspx">Login</a>
                                </li>
                                <li class="primary-nav-section" id="lnkDataAdmin" runat="server">
                                    <a class="primary-nav-link" href="dataAdmin.aspx">Data Administration</a>
                                    <nav class="primary-nav-sub">
                                        <a class="primary-nav-sublink" href="customers.aspx">Customer Administration</a>
                                        <a class="primary-nav-sublink" href="manufacturers.aspx">Manufacturer Administration</a>
                                        <a class="primary-nav-sublink" href="events.aspx">Events Administration</a>
                                        <a class="primary-nav-sublink" href="product.aspx">Products Administration</a>
                                        <a class="primary-nav-sublink" href="projects.aspx">Projects Administration</a>
                                        <a class="primary-nav-sublink" href="industry_report.aspx">Industry Reports</a>
                                        <a class="primary-nav-sublink" href="urbanrailreport.aspx">Urban Rails</a>
                                    </nav>
                                </li>
                                <li class="primary-nav-section" id="lnkSearch" runat="server">
                                    <a class="primary-nav-link" href="search.aspx">Search</a>
                                </li>
                                <li class="primary-nav-section" id="lnkReports" runat="server">
                                    <a class="primary-nav-link" href="reports_Start_page.aspx">Reports</a>
                                    <nav class="primary-nav-sub">
                                        <a class="primary-nav-sublink" href="repContrCustCountr.aspx">Contracts by Customers</a>
                                        <a class="primary-nav-sublink" href="repCustCountr.aspx">Customers by Country</a>
                                        <a class="primary-nav-sublink" href="repIndustry_rep.aspx">Industry Reports</a>
                                        <a class="primary-nav-sublink" href="repOperators.aspx">Operators by Country</a>
                                        <a class="primary-nav-sublink" href="repUrbanRail.aspx">Urban Rail Infrastr.</a>
                                        <a class="primary-nav-sublink" href="repReferences.aspx">References</a>
                                    </nav>
                                </li>
                                <li class="primary-nav-section" id="lnkAdmin" runat="server">
                                    <a class="primary-nav-link" href="users.aspx">Administration</a>
                                    <nav class="primary-nav-sub">
                                        <a class="primary-nav-sublink" href="users.aspx">Users</a>
                                        <a class="primary-nav-sublink" href="Roles.aspx">Roles</a>
                                        <a class="primary-nav-sublink" href="user_images.aspx">Home Images</a>
                                        <a class="primary-nav-sublink" href="BoardAnnouncement.aspx">Board Announcement</a>
                                        <a class="primary-nav-sublink" href="user_log.aspx">User Log</a>
                                        <a class="primary-nav-sublink" href="user_logins.aspx">Users Logins</a>
                                        <a class="primary-nav-sublink" href="changelog.aspx">Changelogs</a>
                                    </nav>
                                </li>
                                <li class="primary-nav-section" id="lnkFileSharing" runat="server">
                                    <a class="primary-nav-link" href="FileSharing.aspx">File Sharing</a>
                                </li>
                                <li class="primary-nav-section" id="lnkHelp" runat="server">
                                    <a class="primary-nav-link" href="help.aspx">Help</a>
                                </li>
                                <li class="primary-nav-section" id="lnkLogout" runat="server">
                                    <a class="primary-nav-link" href="logout.aspx">Log Out</a>
                                </li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </section>
        </div>
 
        <div id="divMainDataMaster" class="maindatamaster">
            <div id="divMainData" class="maindata">
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </div>
        </div>
 
    </form>
</body>
</html>
0
Accepted
Nasko
Telerik team
answered on 19 Mar 2014, 02:28 PM
Hello Felice,

Currently, you are using the HTML5 DOCTYPE declaration:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
  
<!DOCTYPE html>
  
...

The provided KB article and suggestion by my colleague is to switch that declaration with an older one, such as the HTML 4.01 Transitional DOCTYPE:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   
...


Regards,
Nasko
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Felice
Top achievements
Rank 1
answered on 29 Mar 2014, 03:18 PM
Thank you Stef,
this solved my problem.

Kind regards
Felice
Tags
General Discussions
Asked by
Felice
Top achievements
Rank 1
Answers by
Stef
Telerik team
Felice
Top achievements
Rank 1
olepadre
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or