I try to disable just the configurator in the tool bar with the following code
Code: Select all
StiToolsToolbarService toolsService = StiToolsToolbarService.GetService();
toolsService.ShowConfigurator = false;
report = new StiReport();
report.Design(this);
If I turn off the whole StiToolsToolbarService I have not problem, eg.
Code: Select all
StiToolsToolbarService toolsService = StiToolsToolbarService.GetService();
toolsService.ServiceEnabled = false;
report = new StiReport();
report.Design(this);
Thanks.