We are opening more than one report at a time in our frontend. To do this we place StiDesignerControls on document tabs.
The first report opens as expected, but when we open the second one no toolbars are displayed. They appear when the user moves the splitter bar between the report design area and the dictionary on the right side.
Here is a code fragment which shows how we are opening the report designers:
Code: Select all
private void _OpenReport(StiReport report)
{
StiDesignerControl rptControl = new StiDesignerControl();
rptControl.Report = report;
rptControl.Dock = DockStyle.Fill;
rptControl.ShowMainMenu = false;
TabbedDocument doc = new TabbedDocument(dockManager, rptControl, report.ReportName);
doc.Open(); // Shows document and report designer control
}
Thanks in advance,
Joerg.