Page 1 of 1

Second StiDesignerControl does not get toolbars

Posted: Fri Aug 17, 2007 6:48 am
by joero
Hello,

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
}
Do you have any idea what can cause this behaviour and how we can fix it?

Thanks in advance,
Joerg.

Second StiDesignerControl does not get toolbars

Posted: Mon Aug 20, 2007 10:29 am
by Guest
Unfortunately, we couldn't reproduce your problem. Please, send the sample project to support(Image), and also inform us about version you use(number and date of the build).

Thank you.