none
Asp.Net Report Viewer With Parameters Not Displaying as iframe in Internet Explorer RRS feed

  • Question

  • Hello Everyone,

    I have created a report using Visual Studio 2008 Report Viewer. The report takes two dates as parameters and generates the report on button click. This web app works fine by itself. But we have a website for reports and I am trying to display the report viewer application as an iframe in the reporting website. It does nothing when i pass the parameters in Internet Explorer. It works in Chrome and Mozilla. Below is the code behind and the iframe call.

      protected void Page_Load(object sender, EventArgs e)

            {

                ReportViewer1.Visible = false;

            }

     

            protected void Button1_Click(object sender, EventArgs e)

            {

                ReportViewer1.Visible = true;

                ReportViewer1.LocalReport.Refresh();

            }

     

    <iframe src ="http://192.XXX.XX.XX/ReportFolder/report.aspx"  width="2000" height="2000" >

    </iframe>

     

    Any thought and help would greatly be appreciated.

    Thanks in Advance,

    ExpressDBA

     

    Thursday, November 4, 2010 6:33 AM