Hi,
I am tryin to hide the control on tool bar but from code hide using C# 3.5 ,but it is not getting hide please help me out ,i am using Stimulsoft 2008
i referred your samples of custom preview control but it is not working,i am sending you the code please guide me
StiReport report = new StiReport();
Stimulsoft.Report.Render.StiPreviewControl previewControl = new Stimulsoft.Report.Render.StiPreviewControl();
previewControl.ShowExport = false;
previewControl.SaveConfig();
previewControl.Refresh();
previewControl.LoadConfig();
report.Load("D:\\Report.mrt");
report.Compile();
report.Render(false);
report.Show();
To Hide Controls Button on Tool bar
To Hide Controls Button on Tool bar
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
StiOptions.Viewer.Windows.ShowExportButton = false;
StiReport report = new StiReport();
report.Load();
...
report.Show();