Design report without dialog form - Image lost
Design report without dialog form - Image lost
Dear sirs,
a few weeks ago we updated to 2014.1.1900 Framework Version 4. Now a strange thing happens. If we design a report without setting dialogForm to true, an embedded image gets lost. I made a sample application to demonstrate this behavior.
Download:
Thank you.
Xss
PS: I'm back on monday to reply if u need further informations.
a few weeks ago we updated to 2014.1.1900 Framework Version 4. Now a strange thing happens. If we design a report without setting dialogForm to true, an embedded image gets lost. I made a sample application to demonstrate this behavior.
Download:
Thank you.
Xss
PS: I'm back on monday to reply if u need further informations.
Re: Design report without dialog form - Image lost
Hello,
[STAThread]
static void Main(string[] args)
{
...
Thank you.
[STAThread]
static void Main(string[] args)
{
...
Thank you.
Re: Design report without dialog form - Image lost
It' same to me. how to fix this.
Lost image when upgrate to 2014.1
please help
thank you
Lost image when upgrate to 2014.1
please help
thank you
Re: Design report without dialog form - Image lost
Hello,
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
Re: Design report without dialog form - Image lost
Strange, my link disappeared. 
Well, here is the link to the sample application:

Well, here is the link to the sample application:
Re: Design report without dialog form - Image lost
Hello,
Please send sample project with code.
Also please do not upload the samples with our .dll files.
Thank you.
Please send sample project with code.
Also please do not upload the samples with our .dll files.
Thank you.
Re: Design report without dialog form - Image lost
Oh dear...I'm sorry, we found the problem. In our code the report was disposed after calling .Design(). So with the dialogForm = true the code execution stopped.
The final question. At which point should we dispose the designed report?
Thank you,
Xss
Code: Select all
using (Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport())
{
report.Load(Path.Combine(Application.StartupPath, "Demo.mrt"));
report.RegData(GetDemoData());
report.Dictionary.Synchronize();
report.Dictionary.SortItems(Stimulsoft.Report.Dictionary.StiSortOrder.Asc);
report.Design(dialogForm);
}
Thank you,
Xss
Re: Design report without dialog form - Image lost
Hello,
When you do not use report you can dispose it.
Thank you.
When you do not use report you can dispose it.
Thank you.