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
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.
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.