In some scenarios, it is necessary to execute a special code when the user cancels report rendering in Report Viewers.
A special event raised when the report rendering is canceled will be very useful for these scenarios.
I have cascading parameters, and in some cases, the data set for the dependent parameters is empty. In these cases, the parameter editor of the second parameter is displayed as an input/textbox rather than a dropbox without data.
In the Standalone Designer, the parameter editor is displayed as expected, with a dropdown without data.
The report for reproducing the issue is Product Line Sales-01.zip
We are using the external style sheet file (StyleSheet.xml) when designing our report from Web report designer. We want to see our style sheet applied on our report when we see the report from Web designer in design mode. In Preview mode it is working fine. But the problem here, it is not working in Design mode.
See the attached pictures. You find our problem on the picture ExternalStyleInWebDesigner-DesignMode.PNG
Is there any solution or a feature request needs to be created?
FYI: External style sheet is working in Standalone report designer in both design and preview mode.
Thanks,
As documented slightly comically here: https://www.telerik.com/forums/can-not-for-the-life-of-me-get-a-report-to-run , and confirmed by other users on that thread, Telerik reporting can be incredibly unintuitive in the configuration steps.
Having just been through the wringer yet again - I just wanted to copy the configuration from one working project to another, and it's taken me about 6 hours of tearing my hair out to get it working, I'm giving some suggestions for improving this. These really are bugs, not features, hence the bug report.
My use case is the HTML5 report viewer running off the REST service in dotNet 6.
(1) Try systematically breaking one component at a time of the configuration, and check that the error message is correct.
eg. in builder.Services.AddControllersWithViews().AddNewtonsoftJson();
if .AddNewtonsoftJson() is left out, we get the error:
Cannot access the Reporting REST service. (serviceUrl = '/api/TelerikReportHandler/'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)
It is almost impossible to diagnose this - there is no reason that error could not indicate that NewtonsoftJson is not available. I working it out by going through the white paper, and thought 'that's in there but it's surely not going to fix that error message' but I added it anyway and hey presto, fixed.
Another example, not having the .css file referenced correctly in the HTML file referencing the viewer template, displayed a message telling me that the report viewer did not match the REST service version number, a completely incorrect error. Again, I realised the error, thought 'there is no way this is going to fix it', and it did. That's how misleading the errors are.
(2) Don't cache everything
Once I finally got it all working, I decided to break things deliberately to get the error messages so I could record them for my information next time I have to go around this loop. However, I then found that nothing on the client side could be broken. That .css file that was missing a minute ago and causing the error, now I could delete it completely and the reports ran just fine. I could delete the entire template folder and same behaviour, even after closing and restarting the project.
So clearly, once it's working your code is caching the files and/or config internally somewhere. That's a really, really astoundingly bad idea.
The reason I had all these problems in the first place was that I copied all the configuration code and files from a working project, and then the project I copied it to didn't work. I triple checked everything. No go.
I now realise that the working project had probably cached all the files it needed, but then I must have updated the project with non working files, but the project ignored all that and continued to work with its cached files. When I copied the files to a new project, only then did the problem become evident. This is incredibly unintuitive, frustrating and undocumented.
Telerik is not a bad product, but I have never failed to take less than half a day every time I have needed to change anything. If I thought the competitiors were any better, I'd jump ship but frankly I think they're all probably the same.
But if you took this advice, the process would become way, way easier to work through. All we need is good, clear, specific error messages and, for the love of god, *no* caching.
In a cascading dropdown, we noticed that the child dropdown is not populated until the parent dropdown is closed after selection. There is a second delay between selecting the parent dropdown and populating the child dropdown. Between this small interval of time, the preview button can be clicked, as it is not disabled, due to which wrong values (previously selected values) are passed in the parameters resulting in incorrect results.
The following warning is shown in the browser console when starting my Blazor application when I use the native Blazor Report Viewer:
WARNING: Processing source-maps of https://localhost:7025/_content/Telerik.ReportViewer.BlazorNative/js/reporting-blazor-viewer.js took longer than 11000 ms so we continued execution without waiting for all the breakpoints for the script to be set.Could not read source map for https://localhost:7025/_content/Telerik.ReportViewer.BlazorNative/js/reporting-blazor-viewer.js: Unexpected 404 response from https://localhost:7025/_content/Telerik.ReportViewer.BlazorNative/js/reporting-blazor-viewer.js.map:
In PDF rendering, my SVG image does not get clipped according to the design-time look of the report while in Excel(XLSX), the same SVG content appears almost correctly.
In the PDF rendering engine, clipping SVGs is not supported out-of-the-box. Instead, the whole SVG content is rendered without applying any clipping which can lead to differences between previewing the report in the report designer and when exported to PDF. For example:
In design
In the report preview.
In the PDF file.
When I have a report that uses the Shape Report Item and I export it to Excel(XLSX) in Linux, upon opening the Excel file, I am met with the following warning:
We found a problem with some content in "Report.xlsx". Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes
The DocumentMapVisible/ParametersAreaVisible settings that I set in the initialization of the native Blazor Report Viewer are not respected.
I can hide/show these areas from the buttons in the report viewer's toolbar but am unable to have them hidden initially.
Currently, the only workaround is to have a JS function that clicks on the toolbar after initialization:
function reportViewerMapClick() {
$(".k-i-dictionary-add").click();
}
I just migrated from building with react-scripts to Vite, as it seems react-scripts is deprecated. After the change, the react report viewer is not functioning correctly. Browser console shows:
Instantiation of Kendo TreeView as Document Map threw an exception TypeError: $kendoHtmlEncode is not a function
Uncaught (in promise) TypeError: $kendoHtmlEncode is not a function
The DocumentMapVisible settings that I set in the initialization of the WPF Report Viewer are not respected.
I can hide/show these areas from the buttons in the report viewer's toolbar but am unable to have them hidden initially.
Currently, the only workaround is to set an event on this.ReportViewer1.RenderingEnd += ReportViewer1_RenderingEnd;
private void ReportViewer1_RenderingEnd(object sender, Telerik.ReportViewer.Common.RenderingEndEventArgs args)
{
this.ReportViewer1.DocumentMapVisible = false;
}
I installed the @progress/telerik-angular-report-viewer - npm (npmjs.com) package of version 19.23.718 in my project and noticed that the viewer's SASS template uses incorrect versions for its resource references.
<link href="{service}resources/font/fonticons-17.1.23.719.css/" rel="stylesheet" />
<link href="{service}resources/styles/telerikReportViewer-17.1.23.719.css/" rel="stylesheet" />For the template to work with a Reporting service of the latest version(17.1.23.718), the template must be edited.
Hi,
I use Azure App Service Linux to host my .NET CORE ASP Server with Blazor as Frontend.
There is a way to embed Fonts using the telerikReporting / privateFonts configuration part. But as an application intended for multiple users (using different copies of Azure App Services), this is not a proper solution.
My idea whould be, to allow my client, who designs their own template using Telerik Report Designer (Standalone) (baed on many premade templates from my programm), to allow to embed their own Fonts from there, and upload the TRDX file to my server and let it render. Note that I use Telerik Reporting only in Backend and returns only rendered PDF files to the client (font end)
In short, allow TTF / OTF Font embedding in Telerik Report Designer, store it INTO TRDX / TRDP files.
Thanks
Vulpes
Add a property to be able to suppress duplicate values in a column, which could be optionally shown after a page break.
When I conditionally hide a TextBox in a table, I got unwanted spaces between the hidden boxes.
In my example below I have 30 records as seen in the first table.
In the second table I have the same data, but conditionally formatting it to hide based on the following:
= Fields.Column1 > 2 and Fields.Column1 < 28
Notice the space that shows between 02 and 28.