Page 1 of 1

Deleting Report components

Posted: Tue Jul 25, 2006 7:49 am
by Robert Denver
Hi, Stimulsoft Team!
Can i delete StiReport components in runtime?
Thanks!

Deleting Report components

Posted: Tue Jul 25, 2006 8:03 am
by Edward
Robert wrote:Hi, Stimulsoft Team!
Can i delete StiReport components in runtime?
Thanks!
Yes you can delete components of StimulReport.Net in runtime.
Please use following code:

Code: Select all

StiComponent comp = report.GetComponents()["DataBand1"];
comp.Parent.Components.Remove(comp);
report.Show();

Deleting Report components

Posted: Mon Jul 31, 2006 10:26 am
by Robert Denver
Thank you!