locked
it can not show report viewer when use frame, how to use frame to show report viewer RRS feed

  • Question

  • User-632680679 posted

    after deploy, the page is blank

    <%@ Page Title="" Language="C#"  AutoEventWireup="true" CodeBehind="CoverReport_f.aspx.cs" Inherits="ReportWebApplication.ops.CoverReport_f" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head runat="server">
        <title>Reports</title>
        <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
        
        <script language="javascript" src="Scripts/jquery-1.4.1.js"></script>
        <script language="javascript" src="Scripts/jquery-1.4.1.min.js"></script>
    </head>
    <body>
        <form runat="server">
        <div class="page">
            <frameset cols="20%,80%">
              <frame src="Header.htm">
              <frame src="http://hello:83/Reports/Pages/Report.aspx?ItemPath=%2fops%2fCoverReport">
            </frameset>
        </div>
        <div class="footer">
            
        </div>
        </form>
    </body>
    </html>
    

    Wednesday, March 19, 2014 5:21 AM

Answers

  • User1140095199 posted

    Hi,

    it can not show report viewer when use frame, how to use frame to show report viewer

    after deploy, the page is blank

    Frameset is not supported anymore. Use iframe :

    <form id="form1" runat="server">
        <div>
            <iframe src="ReportDemo1.aspx"></iframe>
            <iframe src="http://localhost:62587/ReportDemos/ReportDemo1.aspx"></iframe>
        </div>
        </form>

    iFrame is good. But the best way is to use Master and Content Page.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 19, 2014 11:21 PM