Regarding Save changes in the report in run time
Posted: Sat Sep 15, 2012 6:14 am
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:
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
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();
}
Unable to cast object of type 'System.String' to type 'Stimulsoft.Report.StiStyleCondition'.
Thank you