This is a migrated thread and some comments may be shown as answers.

ReportSource Clone "no suitable method found to override"

3 Answers 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 05 Jun 2020, 06:13 PM
We have 2020 R2. I'm trying to implement a ReportSource class but when I try to implement the required Clone method VS 2019 gives me the error "no suitable method found to override". What's going on?

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 Jun 2020, 03:26 PM

Hi Jason,

The property is Internal and for that reason cannot be overridden in an assembly different from the one where the abstract ReportSource class is defined. It would be interesting if you shared with us why would you need to implement the abstract class? What type of ReportSource would you like to have?

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Jason
Top achievements
Rank 1
answered on 10 Jun 2020, 07:43 PM
We are switching from RDLC and I'm trying to figure out how, if it's possible, to integrate with our existing objects that we use to fill static printable reports.
0
Todor
Telerik team
answered on 15 Jun 2020, 11:42 AM

Hi Jason,

Note that ReportSources are objects that contain an identification of the report definition or the report definition instance - see Available Report Sources. The actual report definition is either in the TRDX/TRDP file referenced in the UriRepotSource Uri property, in the Type specified in the Assembly Qualified Name of the TypeReportSource TypeName, or the object (report instance) in the ReportDocument property of the InstanceReportSource.

My understanding is that you need to provide data to fill your reports. You may use one of our DataSource components. For example, the ObjectDataSource may be used to fetch data through a .NET Type/method. For an example, you may check the How to Bind to a BusinessObject article.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Todor
Telerik team
Jason
Top achievements
Rank 1
Share this question
or