We have a typical SL application with a WCF service. In this we want to use the report viewer and designer.
The requirements for the designer are:
- The service determines what possible datasources there are (sends a dictionary?).
- The user cannot create a new datasource or connection.
- The user cannot modify the dictionary (save/load/delete).
Can we control the buttons that are presented to the user?
Hide dictionary commands
Re: Hide dictionary commands
Hello.
Please try to set next static Option:
To control buttons you should use the Stimulsoft.Report.SLDesign.StiDesignerSLOptions class.
Thank you
Please try to set next static Option:
Code: Select all
Stimulsoft.Report.SLDesign.StiDesignerSLOptions.Dictionary.AllowModifyConnections = false;
Stimulsoft.Report.SLDesign.StiDesignerSLOptions.Dictionary.AllowModifyDataSources = false;
Thank you
Re: Hide dictionary commands
Hello,
The StiSLDictionaryPanelService has a set of properties that you can use to restrict access and features of the dictionary. Applying to StiConfig you can refer to the current dictionary.
If you do not find some features you need, please contact us, we will help you. We also can add the missed ones.
Thank you.
The StiSLDictionaryPanelService has a set of properties that you can use to restrict access and features of the dictionary. Applying to StiConfig you can refer to the current dictionary.
If you do not find some features you need, please contact us, we will help you. We also can add the missed ones.
Thank you.