rendering says that there is no datasource
Posted: Fri Aug 29, 2008 4:01 am
Hi there,
i have another problem. When i load a report and call
report.Design();
everything works fine. Even if i call
report.Render(true);
afterwards. But if i only call report.Render(true) without calling report.Design() prior to it, i get an exception that tells me that the datasources are not available. What is going wrong? Does the designer initiate something i should do before calling the render-method?
i place my data in the report using report.RegData("BusinessData",data) and everything works fine within the designer.
i have another problem. When i load a report and call
report.Design();
everything works fine. Even if i call
report.Render(true);
afterwards. But if i only call report.Render(true) without calling report.Design() prior to it, i get an exception that tells me that the datasources are not available. What is going wrong? Does the designer initiate something i should do before calling the render-method?
i place my data in the report using report.RegData("BusinessData",data) and everything works fine within the designer.