Page 1 of 1
Component/Page not editable
Posted: Wed Feb 07, 2007 3:53 pm
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
Component/Page not editable
Posted: Thu Feb 08, 2007 6:12 am
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.
Component/Page not editable
Posted: Thu Feb 08, 2007 7:58 pm
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.....?
Component/Page not editable
Posted: Fri Feb 09, 2007 1:30 am
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.