Page 1 of 1

Problem with PrintToPDF and reload new report in web.

Posted: Tue Sep 27, 2011 7:25 am
by opensky90
Hi Stimulreport:

my website is ASP.NET application with master page.
Also 2 text box and 1 button for send parameters to report.
When press button show report to stiwebviewer.
But when change text box value and press button after saving to PDF or print to PDF , also show saving to pdf dialog and Not show new report.!!!!


also my code is here:

Code: Select all

 protected void Button3_Click(object sender, EventArgs e)
    {
     
        StiReport report = new StiReport();
        string str = "";
        
        if (ComboBox1.SelectedValue == "HK")
        {
            str = Server.MapPath("reports/ReportDecree.mrt");
        }
        else if (ComboBox1.SelectedValue == "BM")
        {
            str = Server.MapPath("reports/ReportMP.mrt");
        }

        report.Load(str);
        report.Compile();
        report["@ref_number1"] = txt_from.Text;
        report["@ref_number2"] = txt_until.Text;
       
        StiWebViewer1.Report = report;
      
    }
Please Help me for this problem.:cry: :cry: :cry: :dumb: :dumb: :dumb:

Problem with PrintToPDF and reload new report in web.

Posted: Wed Sep 28, 2011 2:36 am
by Vladimir
Hello,

To resolve this problem, please try to set the following property to True:
Thank you.

Problem with PrintToPDF and reload new report in web.

Posted: Thu Sep 29, 2011 1:15 am
by opensky90
Vladimir wrote:Hello,

To resolve this problem, please try to set the following property to True:
Thank you.
Not resolve this way!!!:angry: :angry:

Problem with PrintToPDF and reload new report in web.

Posted: Fri Sep 30, 2011 6:43 am
by Vladimir
Hello,

Which render mode do you use? Please try to set the Ajax mode, if you use the standard mode:
Thank you.

Problem with PrintToPDF and reload new report in web.

Posted: Fri Sep 30, 2011 10:55 am
by opensky90
Vladimir wrote:Hello,

Which render mode do you use? Please try to set the Ajax mode, if you use the standard mode:
Thank you.
I'm using this way and also not resolve problem!!!!!!!!!!!!!:cry: :cry: :cry: :cry: :cry: :pffft: :pffft: :pffft: :hugging: :hugging: :hugging:

Problem with PrintToPDF and reload new report in web.

Posted: Tue Oct 04, 2011 8:14 am
by Vladimir
Hello,

Sorry, we could not repeat the error. Could you send us .aspx and .cs page on which the WebViewer component is placed?

Also please try to set the following property:
Thank you.