Page 1 of 1

Custom component + SubReport.UseExternalReport

Posted: Thu Feb 21, 2013 8:02 pm
by Daniel Schmitz
Hi.
First of all, I would like to know if there is any way I could create a custom component to be used in the MVC Designer.
Then, I need some help about using the SubReport while loading an external report.
I'm using the version 2012.3.
Thanks.

Re: Custom component + SubReport.UseExternalReport

Posted: Fri Feb 22, 2013 12:08 pm
by HighAley
Hello.
Daniel Schmitz wrote:First of all, I would like to know if there is any way I could create a custom component to be used in the MVC Designer.
Unfortunately, it's impossibe to create custom component in the Stimulsoft Reports.Web for MVC.
Daniel Schmitz wrote:Then, I need some help about using the SubReport while loading an external report.
Please, try to use next code:

Code: Select all

private void bShow_Click(object sender, EventArgs e)       
{
     StiReport report = new StiReport();
     report.Load();
     report.Compile();
     report.CompiledReport.GetSubReport += new StiGetSubReportEventHandler(report_GetSubReport);
     report.Show();
}

void report_GetSubReport(object sender, StiGetSubReportEventArgs e)
{
     StiReport stiSubReport = new StiReport();
     stiSubReport.Load();
     e.Report = stiSubReport;
}
Thank you.

Re: Custom component + SubReport.UseExternalReport

Posted: Fri Feb 22, 2013 1:00 pm
by Daniel Schmitz
Hi, thanks for the quickly answer.

Is there any plans of allowing the creation of custom components?
It would be very helpful for us.

About the external report, I needed it would be configured at desing time.

Thanks.

Re: Custom component + SubReport.UseExternalReport

Posted: Fri Feb 22, 2013 1:23 pm
by HighAley
Hello.
Daniel Schmitz wrote:Is there any plans of allowing the creation of custom components?
It would be very helpful for us.
We have no such plans. What component do you need?
Daniel Schmitz wrote:About the external report, I needed it would be configured at desing time.
Unfortunately, it's possible to add external sub-report from code only.

Thank you.

Re: Custom component + SubReport.UseExternalReport

Posted: Wed Oct 18, 2017 7:26 am
by petrdivis
I I wanted to ask if with 2017.1 the custom component use (from .Net and WCF Reports) is still not possible in Reports.Web.

Thanks

E.g. custom Map Component defined as follows:

Code: Select all

using Stimulsoft.Base.Drawing;
using Stimulsoft.Base.Localization;
using Stimulsoft.Base.Serializing;
using Stimulsoft.Base.Services;
using Stimulsoft.Report;
using Stimulsoft.Report.Components;
using Stimulsoft.Report.Components.Design;
using Stimulsoft.Report.Dictionary;

namespace Custom.Report.MapComponent
{

	[StiServiceBitmap(typeof(CustomReportMapComponent), "Custom.Report.MapComponent.Images.MapComponent16.png")]
	[StiToolbox(true)]
	[StiContextTool(typeof(IStiShift))]
	[StiContextTool(typeof(IStiGrowToHeight))]
	[StiDesigner(typeof(CustomStiComponentDesigner))]
	public class CustomReportMapComponent : StiView,  IStiSuperToolTipLocalization
	{ 
...

Re: Custom component + SubReport.UseExternalReport

Posted: Sat Oct 21, 2017 12:38 am
by Edward
Hi Petrdivis,

Unfortunately this functionality is available only in Stimulsoft Reports.Net.

Thank you,
Edward

Re: Custom component + SubReport.UseExternalReport

Posted: Wed Dec 28, 2022 10:46 am
by andreubatuba
Hello, I would like to ask if now, in 2022, it is still not possible to use custom components in Reports.Web.

Thanks

Re: Custom component + SubReport.UseExternalReport

Posted: Wed Dec 28, 2022 3:43 pm
by Lech Kulikowski
Hello,

Unfortunately, no.

Thank you.