Hello,
I am evaluating StimulReport for ASP.NET 2.0.
Please, could you tell me where I can find documentation about your StiReportWeb control ?
I have created a report with it but I cannot view it using a StiWebViewer as per the following message:
Exception Details: System.FormatException: Invalid character in a Base-64 string.
Source Error:
Line 21: if (StiWebViewer1.IsImageRequest) return;
Line 22: {
Line 23: StiWebViewer1.Report= StiReportWeb1.GetReport();
Line 24: }
Line 25: }
and same error for:
Line 25: StiReport report = StiReportWeb1.GetReport();
Line 26: report.Compile();
Line 27: StiWebViewer1.Report = report;
Please, could you advise me of how to display a StireportWeb on a web form using Visual Studio 2005 if there is no documentation about StiReportWeb.
Thank you
Sincerely
Viewing a StiReportWeb in a webForm
Viewing a StiReportWeb in a webForm
Please save your report from report designer to mrt file and send it to support [at] stimulsoft [dot] com.
Thank you.
Thank you.
Viewing a StiReportWeb in a webForm
Thank you for your reply. There is no more error since I recreated the report. This test is successful using a SQL server datasource; now I would like to use a custom business object class, how can I load the business object datasource into my report using a StiReportWeb control?
Viewing a StiReportWeb in a webForm
Business objects exist only in runtime. But the designer in ASP.Net cannot be called in runtime.mmepinto wrote:Thank you for your reply. There is no more error since I recreated the report. This test is successful using a SQL server datasource; now I would like to use a custom business object class, how can I load the business object datasource into my report using a StiReportWeb control?
Therefore, it is necessary to create the schema of data of business objects. Then this schema will be registered in the report and it is will be possible for the report to be designed.
When working with business objects in run-time mode in asp.net the following steps are used:
1. Get the DataSet object from business objects.
Use the StiEnumerableToDataSet class for this task.
2. Save the Dataset xml -scheme.
Use the DataSet WriteXmlSchema method for this.
3. Import the DataSet xml–scheme using the Actions->Import XML Schema... command in the designer
4. Design the report template.
5. In the runtime mode register business objects using the RegData method of a report.
Thank you.
Viewing a StiReportWeb in a webForm
Thank you for this information.
Regards
Regards