Page 1 of 1
Editing an existing report
Posted: Mon Jan 29, 2007 11:57 am
by Sandy Pham
I'm having trouble editing existing reports. I see the designer open with the report, but it immediately closes again and returns DialogResult.Cancel as the return code. Sometimes it will work the first time I open the report, but after that, it always opens and closes right away.
Here's my code:
StiReport report = new StiReport();
report.RegData("MyDataSource", ds);
report.LoadPackedReport("C:\\download\\test.mrz");
DialogResult result = report.Design();
Am I missing something?
Thanks,
Sandy
Editing an existing report
Posted: Mon Jan 29, 2007 3:02 pm
by EDV Gradl
I think, if I remember correctly, you should call
DialogResult result = report.Design(true);
wheras true sets the deisgner to a modal state.
I hope that helps.
Marco
Editing an existing report
Posted: Mon Jan 29, 2007 6:22 pm
by Vital
This bug occurs on any reports? If you comment load method error occurs? You apply any changes of report designer?
Please say me which version of StimulReport.Net you are use (version, date)? Please try remove all config files of StimulReport.Net.
Thank you.
Editing an existing report
Posted: Thu Feb 01, 2007 11:21 am
by Sandy Pham
I finally figured out that it was a progress dialog I display when I load my packed report from the database (before I call Stimulsoft's stuff). When I don't display the progress dialog, everything works okay. Thanks!
Editing an existing report
Posted: Thu Feb 01, 2007 12:18 pm
by Vital
Please show your code (or send it to support) you are used for show progress dialog. We will try give recommendations.
Thank you.