StiwebReport parameters
Posted: Mon Jun 09, 2014 6:25 pm
Hello!
I am using Stimulsoft Ultimate And Visual Studio 2010 for a web project. I made a report and I send params (variables). I use the StiWebViewer but I always have to press the submit button for reload and execute the report with the params. By the way, when I choose save in any format (PDF,Word, XLS, etc) the report is downloaded without the value params.
In my Default.aspx I have the next code:
protected void Page_Load(object sender, EventArgs e)
{
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiMySqlAdapterService());
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiMySqlDatabase());
StiReport report = StiWebReport1.GetReport();
report["reporte_id"] = (Request.QueryString["reporte_id"]!= null)?Request.QueryString["reporte_id"]:"" ;
StiWebViewer1.Report = report;
}
Can you help me? How Can I send the params value when I save my report? How Can I print the params in the box of params?
Thank you.
I am using Stimulsoft Ultimate And Visual Studio 2010 for a web project. I made a report and I send params (variables). I use the StiWebViewer but I always have to press the submit button for reload and execute the report with the params. By the way, when I choose save in any format (PDF,Word, XLS, etc) the report is downloaded without the value params.
In my Default.aspx I have the next code:
protected void Page_Load(object sender, EventArgs e)
{
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiMySqlAdapterService());
StiConfig.Services.Add(new Stimulsoft.Report.Dictionary.StiMySqlDatabase());
StiReport report = StiWebReport1.GetReport();
report["reporte_id"] = (Request.QueryString["reporte_id"]!= null)?Request.QueryString["reporte_id"]:"" ;
StiWebViewer1.Report = report;
}
Can you help me? How Can I send the params value when I save my report? How Can I print the params in the box of params?
Thank you.