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
Designer components visibility
Designer components visibility
Hello, Larusso.
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.
Please use the following code: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...
Code: Select all
StiDictionaryPanelService service = StiDictionaryPanelService.GetService();
service.ShowConnectionNewMenuItem = false;
service.ShowDatabaseNewMenuItem = false;
Yes, we have our class reference: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..)
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.
Designer components visibility
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...
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...