When I use the following code to open a designer, the file name on the title bar is not shown like xyz.mrt but Report.mrt. And, if I make some changes and click on the save button, it will ask me for choosing a place rather than using the last opened file location i.e. c:\xyz.mrt.
Code: Select all
StiReport report = new StiReport();
report.Load("c:\\xyz.mrt");
MyDesignerForm frm = new MyDesignerForm();
frm.Report = report;
frm.ShowDialogDesigner();