Hi,
I'm trying to migrate a project using the legacy WebForms report viewer to html5.
Now our use case requires me to build a report book at runtime, pass different parameters in per report and then add that report to the book. Once I collected all the reports in the book I want to show that specific book in the html5 viewer.
However I'm unsure as to how I can achieve this since the ReportSource doesn't allow me to add the instanciated book in.
Here is a quick example of roughly what I'm trying to do in this case:
Dim rs As New Telerik.ReportViewer.Html5.WebForms.ReportSource()
Dim multiQuoteBook As New Telerik.Reporting.ReportBook()
For Each quoteId In quotes
Dim localQuoteReport As New Telerik.Reporting.TypeReportSource()
localQuoteReport.TypeName = GetType(Reports.QuoteReport).AssemblyQualifiedName
localQuoteReport.Parameters.Add("LoginEntryId", LoginEntryid)
localQuoteReport.Parameters.Add("DocumentId", quoteId)
multiQuoteBook.ReportSources.Add(localQuoteReport)
Next
' How do I assign "multiQuoteBook" to the ReportSource "rs" ?
ReportViewer1.ReportSource = rs
Any input is appreciated.
I found this thread here: ReportBook using HTML5 Viewer in Reporting | Telerik Forums where the dev basically gave up on it as it seemed to hard. It's quite strange that I'm struggling with the same issue.
I'm using Telerik Reporting 2025 Q1 with the standalone Report Designer .NET.
I need to style my reports to match the background color of our application. I thought that using a Parameter to pass in the color would be a solution, but I can't seem to bind it to the Style.BackgroundColor of the header panel.
I added an Integer parameter called ThemeColor with the value of a hex color (1445712).
First off, there is no editor support for binding for the value of the BackgroundColor (i.e. there is no dropdown menu to select expressions only different color pickets), but I can type in an expression manually. I'm not sure if this indicates that the BackgroundColor doesn't support expressions or it's a quirk of the editor).
I've tried entering =Parameters.ThemeColor, but it says that '=Parameters.ThemeColor is not a valid value for Int32.'
I've also tried Parameters.ThemeColor.Value, but with the same error.
I've also tried =System.Drawing.Color.FromArgb(Parameters.ThemeColor), but the same error.
It only seems to accept named colors even through the documentation suggests that it should accept hex color.
https://docs.telerik.com/reporting/styling/styling-reports/styling-report-items
Thanks,
Canice
Hello,
Few years ago, we have integrated your Web Report Designer into our angular application. However, once we updated to angular 18, when we use production build with aot, Report Designer fails to load with errors like 'Cannot read properties of null'. It works if we disable aot optimization, but that doubles the size of our scripts.
Do you have any advice?
Thank you,
Sergey
Hi Team ,
I started using Telerik reporting , not sure how to use Cache mechanism , so telerik report should not connect production database every time instead cache data should be render ?
Tried few things like DatabaseCacheConfigurator.exe , but below error occurs .
Also any file cache mechanism available in Telerik Reporting ? , i can see all Cache mechanism are related to database like SQL Server , Postgre SQL , SQLLite etc....please help on this.
Need assistance in how I can integrate the report viewer in my angular 19 application so I can have users pull up reports from our running Telerik report server.
I keep getting this error
Cannot access the Reporting REST service. (serviceUrl = 'http://localhost:81/api/reports'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)
I've created a route component for this function (which will be a hyperlink on the client) for pulling up a specific report.
the <task name>.component.html just has the <tr-viewer> element
the <task name>.component.ts has the implementation
I'm using JsonConvert.SerializeObject(ds) to convert to JSON string dataset composed of three tables the resulting JSONcomes back with something the result shown below. These fields are part of header section in the report and they are giving me errors. Someone suggested to remove the square brackets in order to make it work and it did the trick. Is there a way I can access these fields in the header section without making changes to the resulting JSON?
hi,
I would like to ask, why does Telerik Report request the /info api multiple times? Can this info interface be requested in other ways to reduce the number of times?
thanks.
Hi everyone,
I'm having an issue with Telerik Report Viewer (HTML5 version) and Telerik Report Designer. I'm trying to change the database connection dynamically, and although the new connection string is being passed correctly (I’ve confirmed this by printing the in-memory values), the report viewer keeps using the initial connection and doesn't apply the new one.
What's even stranger is that after clearing cookies, browser data, and restarting the site, it still sticks to the first connection it received. It feels like Telerik stores this connection internally (maybe through caching or some static variable) and won’t allow it to update.
Has anyone experienced something similar or knows how to force the viewer to use the new connection?
Any suggestions or guidance would be greatly appreciated.
Thanks in advance.