Page 1 of 1
How to hide Service Configurator???
Posted: Tue May 29, 2007 5:08 am
by jayakumargr
Hi,
I want to hide service configurator. (stireport 2007.1) (My concern have stireport2007.1 code)
How i do that ? (using stireport2007.1 source code)
Is there any possibility to hide service configurtor using .config file ?
Thanks in advance,
Jayakumar
How to hide Service Configurator???
Posted: Tue May 29, 2007 6:47 am
by Guest
Use this code:
StiToolsToolbarService tools = StiToolsToolbarService.GetService();
tools.ShowConfigurator = false;
Please see the sample "DesignerManagement".
Also you may to save your settings of disigner config file, with:
StiConfig.Save();
and load this settings later with:
StiConfig.Load();
Thank you.
How to hide Service Configurator???
Posted: Tue May 29, 2007 7:35 am
by jayakumargr
Hi,
i use following lines.
StiReport report = new StiReport();
StiToolsToolbarService tools = StiToolsToolbarService.GetService();
tools.ShowConfigurator = false;
report.Design();
It shows Following Error:
"Object reference not set to an instance of an object" (Null Reference Exception)
How to Solve it???
Thanks in Advance,
Jayakumar
How to hide Service Configurator???
Posted: Tue May 29, 2007 9:38 am
by Guest
What version of StimulReport.Net you use? For version 2007.1 this code is worked.