Designer components visibility

Stimulsoft Reports.NET discussion
Post Reply
Larusso
Posts: 32
Joined: Tue May 20, 2008 9:27 am
Location: Poland

Designer components visibility

Post by Larusso »

Hi, I'm giving end user report designing capability, but don't want to show few components like 'New connection' or so. I disabled most of what I need (I looked at DesignerManagement project) but for example I need to disable edit on connection object (I hard code it), but give possibility to edit other objects in dictionary. In DictionaryPanelService there is only one property for showing edit option...

By the way, is there some reference for Your classes? Some integration with vs.net help... I don't know where to search for all visibility options (like in ribbon control..)
Regards
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Designer components visibility

Post by Edward »

Hello, Larusso.
Larusso wrote:Hi, I'm giving end user report designing capability, but don't want to show few components like 'New connection' or so. I disabled most of what I need (I looked at DesignerManagement project) but for example I need to disable edit on connection object (I hard code it), but give possibility to edit other objects in dictionary. In DictionaryPanelService there is only one property for showing edit option...
Please use the following code:

Code: Select all

StiDictionaryPanelService service = StiDictionaryPanelService.GetService();
service.ShowConnectionNewMenuItem = false;
service.ShowDatabaseNewMenuItem = false;
By the way, is there some reference for Your classes? Some integration with vs.net help... I don't know where to search for all visibility options (like in ribbon control..)
Yes, we have our class reference:

http://www.stimulsoft.com/ReportsNetDocumentation.aspx

Unfortunately class reference does not contain ribbon controls and some new properties. We work in this direction.

Thank you.
Larusso
Posts: 32
Joined: Tue May 20, 2008 9:27 am
Location: Poland

Designer components visibility

Post by Larusso »

This code:
StiDictionaryPanelService service = StiDictionaryPanelService.GetService();
service.ShowConnectionNewMenuItem = false;
service.ShowDatabaseNewMenuItem = false;

Doesn't block the possibility to edit connection! I want to block new connection and edit connection feature but leave creation of data sources and so on...
Delete connection should also be unavailable...
Post Reply