Hello,
I have created a Telerik Reporting REST service in order to render "telerik reports" on my Web Application in HTML 5 view. I am currently using the following code on my Web Application page "Report.aspx" to consume the service.
<script type="text/javascript">
$("#reportViewer1")
.telerik_ReportViewer({
serviceUrl: "http://localhost:62355/api/reports/",
templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate.html',
reportSource: {
report: "VB.ReportLibrary.ReportCatalog, VB.ReportLibrary",
parameters: {
}
},
viewMode: "ViewModes.INTERACTIVE",
scaleMode: "ScaleModes.SPECIFIC",
scale: "1.0",
PersistSession: "true"
});
</script>
When I open "Report.aspx" it throws an error "Client with ID '[object Object]' not found. Expired" on locally running Service App (See attached image "ServiceError.jpg"). At the same time client side(Web App page Report.aspx) shows an alert message "Gone" (See Image 410_Gone.jpg). ReportsController.vb code is as follows:
Imports Telerik.Reporting.Cache.Interfaces
Imports Telerik.Reporting.Services.Engine
Imports Telerik.Reporting.Services.WebApi
Imports System.IO
Imports System.Web.Http.Cors
'The class name determines the service URL.
'ReportsController class name defines /api/report/ service URL.
<EnableCors("http://localhost:53274", "*", "*")>
Public Class ReportsController
Inherits ReportsControllerBase
Shared configurationInstance As Telerik.Reporting.Services.ReportServiceConfiguration
Shared Sub New()
'This is the folder that contains the trdx or trdp report definitions
'In this case this is the Reports folder
Dim appPath = HttpContext.Current.Server.MapPath("~/")
Dim reportsPath = Path.Combine(appPath, "Reports")
'Add resolver for trdx report definitions,
'then add resolver for class report definitions as fallback resolver;
'finally create the resolver and use it in the ReportServiceConfiguration instance.
Dim resolver = New ReportFileResolver(reportsPath) _
.AddFallbackResolver(New ReportTypeResolver())
'Setup the ReportServiceConfiguration
Dim reportServiceConfiguration As New Telerik.Reporting.Services.ReportServiceConfiguration()
reportServiceConfiguration.HostAppId = "reportViewer1"
reportServiceConfiguration.ReportResolver = resolver
reportServiceConfiguration.Storage = New Telerik.Reporting.Cache.File.FileStorage()
reportServiceConfiguration.ReportSharingTimeout = 0
reportServiceConfiguration.ClientSessionTimeout = 9999
configurationInstance = reportServiceConfiguration
End Sub
Public Sub New()
'Initialize the service configuration
Me.ReportServiceConfiguration = configurationInstance
End Sub
Protected Overrides Function CreateCache() As ICache
Return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache()
End Function
End Class
Can you please provide a solution regarding same. My end goal is to render telerik report on web form page using html 5 report viewer (See expected_result.jpg).

One of our client when to repeat a table on every page of the report. My idea was to use the page header to achieve but I discover that the page header doesn't accept any data-bound items on it.
So my question, does it exist a way to repeat a data-bound item (texbox, table) on every page of the report?
Hi,
I am using Telerik Reporting Q2 2015 with ASP.net MVC ReportViewer (UI for ASP.net MVC). In this I am not able to disable cache at server side, can you please share the option to disable cache from both client & server side.
This will help me to pull the report every time from database & share the update data in the report.
-thank you
-nm


Hi,
Please help me to get why the below binding - Height of PageHeaderSection - returns the false value on all pages. On first page it should be 2.5 inches, on all others - 1 inch, but 1 inch on all pages.
Property path Expression
Height =IIf(PageNumber = 1, "2.5in", "1in")
Thank you


Hi,
Is there any option to create a stylesheet for trdx files. The idea is to have a common place for common settings such as font-size font weight, font family, background color. border size etc for all reports.
Regards
Devesh

Quote tst = new Quote(); //Quote is the main reportTelerik.Reporting.ObjectDataSource odsHeader = (Telerik.Reporting.ObjectDataSource)tst.DataSource;odsHeader.DataSource = cdtsQuote;odsHeader.DataMember = "Header";Telerik.Reporting.SubReport itemDetail = (Telerik.Reporting.SubReport)tst.Items.Find("srItemDetail", true)[0];Telerik.Reporting.ObjectDataSource odsItems = (Telerik.Reporting.ObjectDataSource)itemDetail.ReportSource.DataSource;odsItems.DataSource = cdtsQuote;odsItems.DataMember = "OrderItems";
Hi,
This is the first time that I will work with , the company has this product and they request me to develop the following. So asking about the advice of which component is the best to use.
This is the situation: I'm going to run a process to get all the data that I need, once the process has finished I have to create multiple PDF reports with tables and graphics and it has to be programmatically so there will be no UI.
The company has not report designer but ¿is it possible to define the format of the table by code?
Thanks for your opinion.
Denis
