Custom component + SubReport.UseExternalReport

Stimulsoft Reports.WEB discussion
Post Reply
Daniel Schmitz
Posts: 32
Joined: Tue Jul 03, 2012 2:16 pm

Custom component + SubReport.UseExternalReport

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Custom component + SubReport.UseExternalReport

Post 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.
Daniel Schmitz
Posts: 32
Joined: Tue Jul 03, 2012 2:16 pm

Re: Custom component + SubReport.UseExternalReport

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Custom component + SubReport.UseExternalReport

Post 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.
petrdivis
Posts: 19
Joined: Thu Mar 23, 2017 7:05 am

Re: Custom component + SubReport.UseExternalReport

Post 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
	{ 
...
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Custom component + SubReport.UseExternalReport

Post by Edward »

Hi Petrdivis,

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

Thank you,
Edward
andreubatuba
Posts: 3
Joined: Tue Aug 31, 2021 11:31 am

Re: Custom component + SubReport.UseExternalReport

Post 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
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Custom component + SubReport.UseExternalReport

Post by Lech Kulikowski »

Hello,

Unfortunately, no.

Thank you.
Post Reply