disable save page
disable save page
StiOptions.Designer.AllowPageSaveAs is not work . How to prevent a user from saving a copy of the report
Re: disable save page
Hi Waleedhm,
One of the possible options would be to add your own event handlers that will control the report saving/loading options. Please see the Save and Load Report in Designer sample project on how to do it in the following link: https://www.stimulsoft.com/en/samples/w ... e-designer
And we will confirm in this topic when the issue with saving report as follows, is fixed:
Thank you,
Edward
One of the possible options would be to add your own event handlers that will control the report saving/loading options. Please see the Save and Load Report in Designer sample project on how to do it in the following link: https://www.stimulsoft.com/en/samples/w ... e-designer
And we will confirm in this topic when the issue with saving report as follows, is fixed:
Code: Select all
//If you need you can hide menu item "Save As.."
StiMainMenuService service = StiMainMenuService.GetService();
service.ShowFileReportSaveAs = false;
service.ShowFileReportSave = false;
Thank you,
Edward
Re: disable save page
hi Edward,
This code works well When adding a tool StiRibbonDesignerControl But when called design function does not work Can we help in this?
Thanks in advanced,
This code works well When adding a tool StiRibbonDesignerControl But when called design function does not work Can we help in this?
Code: Select all
Dim Report As StiReport = New StiReport()
Report.LoadEncryptedReport(listVieeAppReprt.SelectedItems(0).Tag.ToString(), ConfigHelper.ReportPassword)
Report.Dictionary.Databases.Clear()
Report.Dictionary.DataSources.Clear()
Report.RegData(ReportDataSet)
Report.Dictionary.Synchronize()
Report.Compile()
Report.Render(True)
Report.Design()
Re: disable save page
Hello,
Please try to use the following options:
Thank you.
Please try to use the following options:
Code: Select all
StiOptions.Designer.Ribbon.ShowMainMenuReportSaveAs
StiOptions.Designer.Ribbon.ShowMainMenuReportSave
Re: disable save page
Thank you ,Works well
Re: disable save page
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.