Component/Page not editable

Stimulsoft Reports.NET discussion
Post Reply
jing
Posts: 50
Joined: Fri Jan 26, 2007 12:47 am
Location: New Zealand

Component/Page not editable

Post by jing »

Hi,
Can you make a component or a stiForm on the report "designer" to become not editable for the user? Not just locking it, the user shouldn't be able to delete the stiForm that's in the report. (I have tried making it invisible, but it has a RenderForm error...)

any help will be great

thanks
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Component/Page not editable

Post by Edward »

You can save your report as inherited. After that all components inside of it cannot be removed.

Please read more about report inheritance here: http://forum.stimulsoft.com/Default.aspx?g=posts&t=316


Thank you.
jing
Posts: 50
Joined: Fri Jan 26, 2007 12:47 am
Location: New Zealand

Component/Page not editable

Post by jing »

In the thread,
StiReport masterReport = new StiReport();
masterReport.Load("d:\\master-detail.mrt");

StiReport report = new StiReport();
report.RegData(dataSet);

report.MasterReport = masterReport.SaveToString();
report.Design();
report.MasterReport Does not exist??? I have tried to use report.ParentReport, but ParentReport returns a report not a string.....?



Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Component/Page not editable

Post by Edward »

We have added a report inheritance not far ago. So you need to download one of the latest prerealise version of the StimulReport.Net.
Please visit our downloads page: http://www.stimulsoft.com/DownloadsSR.aspx

Thank you.
Post Reply