Using the Anguarcli viewer.
mvc application api I am trying to use the designer either to bind using Object data source. But when I open the telerik report designer and choose Object data source it is blank. I have the report in the project and I compile my class and I still see no business object in the list.
Another way I thought also is to bind the report to the telerik report mvc version from the viewer.
<tr-viewer #viewer1
[containerStyle]="viewerContainerStyle"
[serviceUrl]="'http://localhost:/api/reports/'"
[reportSource]="{
report: 'Report1.trdp',
parameters: {}
}"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0"
[ready]="ready"
[viewerToolTipOpening]="viewerToolTipOpening"
[enableAccessibility]="false">
</tr-viewer>
mvc razor version, can i do it the same way in angularcli viewer version.
@(Html.TelerikReporting().ReportViewer() // Each report viewer must have an id - it will be used by the initialization script // to find the element and initialize the report viewer. .Id("reportviewerTotal") // The URL of the service which will serve reports. // The URL corresponds to the name of the controller class (ReportsController). // For more information on how to configure the service please check http://www.telerik.com/help/reporting/telerik-reporting-rest-conception.html. // .ServiceUrl(Url.Content("/api/reportapi/")) .ServiceUrl(Url.Content("/api/reportapi/")) // The URL for the report viewer template. The template can be edited - // new functionalities can be added and unneeded ones can be removed. // For more information please check http://www.telerik.com/help/reporting/html5-report-viewer-templates.html. // Strongly typed ReportSource - TypeReportSource or UriReportSource. .ReportSource(new Telerik.Reporting.TypeReportSource() { TypeName = typeof(application.ReportViewer.ReportCatalog.ReportCatalog).AssemblyQualifiedName })