Page 1 of 1

Regarding Save changes in the report in run time

Posted: Sat Sep 15, 2012 6:14 am
by m.issa
Hello

I am trying to save changes in the report after edit it in run time, by save the report as string, i am using this event:

protected void StiWebDesigner1_SaveReport(object sender, StiWebDesigner.StiSaveReportEventArgs e)

so this is my code:

Code: Select all

protected void StiWebDesigner1_SaveReport(object sender, StiWebDesigner.StiSaveReportEventArgs e)
 {
     string a = string.Empty;

     a = e.Report.SaveToString();
 }
But there is exception generated in this line ( a = e.Report.SaveToString(); ), and the error message is:

Unable to cast object of type 'System.String' to type 'Stimulsoft.Report.StiStyleCondition'.

Thank you

Re: Regarding Save changes in the report in run time

Posted: Mon Sep 17, 2012 9:40 am
by Alex K.
Hello,

Which version do you use?
Please check the last prerelease build.

Thank you.

Re: Regarding Save changes in the report in run time

Posted: Thu Sep 20, 2012 9:44 am
by m.issa
Hello

I am using demo version 2012.1, i download it from the site of stimulsoft, with FX viewer.

Thank you

Re: Regarding Save changes in the report in run time

Posted: Fri Sep 21, 2012 2:23 pm
by HighAley
Hello.

We have just release our next major version of all our products.
Please, download the latest release.

Thank you.

Re: Regarding Save changes in the report in run time

Posted: Mon Sep 24, 2012 10:57 am
by m.issa
Dear Aleksey

i would like to tell you that i downloaded the latest version as you told me, now i can edit properly and the problem solved.

Thank you

Re: Regarding Save changes in the report in run time

Posted: Mon Sep 24, 2012 12:29 pm
by Alex K.
Hello,

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