I create my own designer with WinForm by using StiRibbonDesignerControl. I use it to create my models (MRT files) and to test print, export... (all models use only Business Objets).
I just start to use it for test and I found a problem with my code: when I modify the model, it's not automatically updated in the report (this.stiDesignerControl.Report). So I have to close and restart application to load my new model. Can I do that by code ?
My export code for example:
Code: Select all
Stimulsoft.Report.StiReport report = this.stiDesignerControl.Report;
report.Render(true);
// Get filepath
string filepath = GetFilePath("CSV File|*.csv");
// Export document
StiCsvExportService service = new StiCsvExportService();
report.ExportDocument(service, filepath);
// Open document
System.Diagnostics.Process.Start(filepath);