Page 2 of 2

dinamic report

Posted: Wed Jun 22, 2011 3:05 am
by Alex K.
Hello,

Please send us a sample project which reproduces the issue for analysis.

Thank you.

dinamic report

Posted: Wed Jun 22, 2011 11:52 pm
by hana
I sent a sample project which reproduces the issue, you can see it in the history of this question in the forum

dinamic report

Posted: Fri Jun 24, 2011 1:26 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

protected void Button1_Click(object sender, EventArgs e)
{
    StiReport report = new StiReport();
    report.Load("e:\\1.mrt");
    DataSet ds = new DataSet("Demo");
    ds.ReadXml("e:\\Demo.xml");
    report.RegData(ds);
    report.Dictionary.Synchronize();
    StiWebViewerFx1.Report = report;
}

protected void StiWebViewerFx1_GetDataSet(object sender, Stimulsoft.Report.WebFx.StiWebViewerFx.StiGetDataSetEventArgs e)
{
    DataSet ds = new DataSet("Demo");
    ds.ReadXml("e:\\Demo.xml");
    e.DataSet = ds;
}
Thank you.

dinamic report

Posted: Sun Jun 26, 2011 2:28 am
by hana
it still non work
the problematic lines is:

Code: Select all

        report.RegData(ds);
        report.Dictionary.Synchronize();
I told you that before, why do you give me that code?
it take a lot of time, we need to do it for our customer !

tnk


dinamic report

Posted: Mon Jun 27, 2011 7:01 am
by Alex K.
Hello,

You need add the following code in GetDataSet event of StiWebViewerFx component:

Code: Select all

DataSet ds = new DataSet("Demo");
ds.ReadXml("e:\\Demo.xml");
e.DataSet = ds;
If the issue is still present, please send us full Web project which reproduces the issue for analysis.

Thank you.

dinamic report

Posted: Wed Jun 29, 2011 2:48 am
by hana
you right

it's work!!!:biggrin:

thank you!

dinamic report

Posted: Wed Jun 29, 2011 4:18 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.