Declined
Last Updated: 11 Mar 2024 12:23 by ADMIN
Created by: Thanh
Comments: 2
Type: Bug Report
1

I followed How to set up in Blazor application | Telerik Reporting

All done! But when it run i got an error "telerikWebReportDesignerInterop.js 404"

<script src="_content/telerik.webreportdesigner.blazor/telerikWebReportDesignerInterop.js" defer></script>

and in console show:

fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'Gyr8E4g_PwQHf7G2UKY2h3obMpujPfFp2x9i7dkB4oQ'.
      Microsoft.JSInterop.JSException: Could not find 'telerikWebReportDesignerInterop.createWebReportDesignerWidget' ('telerikWebReportDesignerInterop' was undefined).
Error: Could not find 'telerikWebReportDesignerInterop.createWebReportDesignerWidget' ('telerikWebReportDesignerInterop' was undefined).
    at https://localhost:5001/_framework/blazor.server.js:1:67713
    at Array.forEach (<anonymous>)
    at e.findFunction (https://localhost:5001/_framework/blazor.server.js:1:67673)
    at v (https://localhost:5001/_framework/blazor.server.js:1:69415)
    at https://localhost:5001/_framework/blazor.server.js:1:70361
    at new Promise (<anonymous>)
    at e.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.server.js:1:70334)
    at https://localhost:5001/_framework/blazor.server.js:1:26441
    at Array.forEach (<anonymous>)
    at e.invokeClientMethod (https://localhost:5001/_framework/blazor.server.js:1:26411)
         at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
         at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
         at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

Telerik Reporting 15.1.21.616

<PackageReference Include="Telerik.Reporting.Services.AspNetCore" Version="15.1.21.616" />
<PackageReference Include="Telerik.Reporting.OpenXmlRendering" Version="15.1.21.616" />
<PackageReference Include="Telerik.ReportViewer.Blazor" Version="15.1.21.616" />
<PackageReference Include="Telerik.WebReportDesigner.Blazor" Version="15.1.21.616" />
<PackageReference Include="Telerik.WebReportDesigner.Services" Version="15.1.21.616" />

Startup.cs

 

namespace CSharp.Net5.BlazorIntegrationDemo
{
    using Microsoft.AspNetCore.Builder;
    using Microsoft.AspNetCore.Hosting;
    using Microsoft.Extensions.Configuration;
    using Microsoft.Extensions.DependencyInjection;
    using Microsoft.Extensions.DependencyInjection.Extensions;
    using Microsoft.Extensions.Hosting;
    using System;
    using Telerik.Reporting.Cache.File;
    using Telerik.Reporting.Services;
    using Telerik.WebReportDesigner.Services;

    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            this.Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers();

            services.AddRazorPages()
                .AddNewtonsoftJson();
            services.AddServerSideBlazor();

            // Configure dependencies for ReportsController.
            services.TryAddSingleton<IReportServiceConfiguration>(sp =>
                new ReportServiceConfiguration
                {
                    ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
                    HostAppId = "Net5BlazorDemo",
                    Storage = new FileStorage(),
                    ReportSourceResolver = new UriReportSourceResolver(System.IO.Path.Combine(sp.GetService<IWebHostEnvironment>().ContentRootPath, "..", "..", "..", "..", "Report Designer", "Examples")),
                });

            // Configure dependencies for ReportDesignerController.
            services.TryAddSingleton<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration
            {
                DefinitionStorage = new FileDefinitionStorage(
                    System.IO.Path.Combine(sp.GetService<IWebHostEnvironment>().ContentRootPath, "..", "..", "..", "..", "Report Designer", "Examples")),
                SettingsStorage = new FileSettingsStorage(
                    System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Telerik Reporting")),
                ResourceStorage = new ResourceStorage(
                    System.IO.Path.Combine(sp.GetService<IWebHostEnvironment>().ContentRootPath, "..", "..", "..", "..", "Report Designer", "Examples", "Resources"))
            });
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseExceptionHandler("/Error");
            }

            app.UseStaticFiles();
            app.UseRouting();
            app.UseEndpoints(endpoints =>
            {
                endpoints.MapControllers();
                endpoints.MapBlazorHub();
                endpoints.MapFallbackToPage("/_Host");
            });
        }

        /// <summary>
        /// Loads a reporting configuration from a specific JSON-based configuration file.
        /// </summary>
        /// <param name="environment">The current web hosting environment used to obtain the content root path</param>
        /// <returns>IConfiguration instance used to initialize the Reporting engine</returns>
        static IConfiguration ResolveSpecificReportingConfiguration(IWebHostEnvironment environment)
        {
            // If a specific configuration needs to be passed to the reporting engine, add it through a new IConfiguration instance.
            var reportingConfigFileName = System.IO.Path.Combine(environment.ContentRootPath, "reportingAppSettings.json");
            return new ConfigurationBuilder()
                .AddJsonFile(reportingConfigFileName, true)
                .Build();
        }
    }
}

WebReportDesignerDemo.razor


@page "/webreportdesigner"
@using Telerik.WebReportDesigner.Blazor

<style>
    #wrd1 {
        position: relative;
        height: 880px;
        padding-right: 50px;
    }
</style>

@* Create the WebReportDesignerWidget *@

<p>This Web Report Designer instance works with reports hosted locally using the Reporting REST service. For more information, visit the <a target="_blank" href="https://docs.telerik.com/reporting/web-report-designer">Web Report Designer</a> article.</p>
<WebReportDesigner DesignerId="wrd1"
                   ServiceUrl="/api/reportdesigner"
                   Report="Dashboard.trdp"
                   ToolboxArea="new ToolboxAreaOptions() { Layout = ToolboxAreaLayout.List }"
                   PropertiesArea="new PropertiesAreaOptions() { Layout = PropertiesAreaLayout.Categorized }" />

Declined
Last Updated: 01 Feb 2024 14:47 by ADMIN

The format of a cell, textbox, can only be set using the predefined options for a number or date time. I want to be able to set the formatting of a textbox in an expression. i.e. `=Fields.Formatting`, which would equate to`{0:##,#0.00 "kW"}`. This is because the cell could be any type of unit, i.e. "kW", "Amps", "kWh"

Using a format would allow the cell content to still be output as a number and when exporting to Excel, the displayed value would be in a user-recognised format but then would allow them to click on the cell and view the full, unrounded, number.

The above functionality is available in SSRS reporting using the formula `=IIf(Globals!RenderFormat.Name = "CSV", "0.00","#,0.00 '" & MAX(Fields!ReadingTypeUnit.Value) & "'")`, which allows for exporting to CSV to round the number.

 

Declined
Last Updated: 18 Jan 2024 17:08 by ADMIN
When the report is exported to PDF, everything is as expected. When the report is exported to DOCX or XLSX, then part of the report is dismissed.
Declined
Last Updated: 04 Dec 2023 13:17 by ADMIN
Created by: Durai
Comments: 1
Type: Bug Report
0
We are trying  to create a Telerik report and in this report, we are  using a few sub reports for some parts of this report. In one portion of the reports I need to display multiple items (detail with description) and it should be rendered in two columns. To render the content into 2 columns I used the Column Count property and with this, it works fine when we run the subreport independently. But when we try to  use this  as  subreport in the main report then this ColumnCount feature is not working so please let me know how I can render a subreport content into 2 columns.Please see the screenshot.Sample image is the one we are trying to achieve in output .
Report design is the one we have designed for our work. When we run it independently it works but when we add it as a sub report to a main report it fails.Sample Sub report - the one working when we try it independently.

Declined
Last Updated: 17 Nov 2023 15:29 by ADMIN

To prevent questions that I can't answer: I'm an end user for this product. I DO NOT have the ability to look at or update code related to the tools integration. So please ignore my answers to Product Version and Target Framework. They were required before I was allowed to post this ticket. 

 

The uploaded report has 6 components. 

Two panels (one containing multiple objects, the other only containing one object [hb2])

4 text boxes each with some bindings.

The two key components to look at for the issue are hb and hb2. Both these objects are identical and both have the same bindings for height and top.

From my math hb2 is correctly positioned and sized by hb has been pushed down. The only difference is that other objects are in the container for hb.

Without any containers, hb and hb2 are positioned incorrectly.

I'm doing all this because the vertical alignment for text boxes was not working, once I exported to PowerPoint.

 

What I expected was that the Top value would only depend on the container holding the component and the components' top value. I did not expect it to be dependent on a mixture of variables from other components also held within the same container.

 


 

Declined
Last Updated: 19 Oct 2023 13:41 by ADMIN

 

To help troubleshoot and solve many of my positioning issues I've viewed and edited a report's XML file. 

The process requires us to download the report, change the report file to [*.zip], extract [definition.xml], open and edit the file, replace the XML file in the ZIP file, rename the file, upload the new file into Telerik reporting to see one edit.

 

Being able to view and edit the [.xml] directly in our Telerik Web Designer would be greatly appreciated.

Declined
Last Updated: 28 Sep 2023 11:14 by ADMIN

A lot of errors or warnings from Web Report Designer or Viewer are in English, please provide options to translate them.
Tour on start Web Report Designer cannot be translated as well.

https://docs.telerik.com/reporting/designing-reports/report-designer-tools/web-report-designer/localizing-the-web-report-designer

Declined
Last Updated: 09 Aug 2023 14:32 by ADMIN
Created by: Foxy
Comments: 1
Type: Feature Request
0

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

Declined
Last Updated: 14 Jun 2023 11:47 by ADMIN

I am using Kendo UI R1 2023 SP2 (version 2023.1.425) themes. Telerik Reporting scripts and stylesheets have not been updated to reflect the latest changes of Kendo UI.

1st photo shows using bootstrap themes, 2nd photo shows using other themes. 

Declined
Last Updated: 30 May 2023 07:18 by ADMIN
It would be very helpful if instead of using the binding feature to reduce the height of a page header at run-time dependent on if a field within the header is used or not, to instead be able to create multiple header and/or footer sections (e.g. HeaderA, HeaderB, etc.) and suppress them when certain conditions are met.  For example you can have Page Header A and Page Header B.  Page Header A might include the company name and would only appear on the first page and be suppressed on subsequent pages.  Page Header B would include the title of the report and would appear on each page.
Declined
Last Updated: 07 Apr 2023 13:19 by ADMIN

Report is working fine in local IIS but not in IIS server. See error details below.

Error creating report instance (Report = 'AttendanceTagging.trdp').
An error has occurred.
A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: $.

Declined
Last Updated: 15 Mar 2023 13:00 by ADMIN
Created by: Eduardo
Comments: 1
Type: Feature Request
0

Greetings,

I have a situation, I need the telerik reporter filters to be more intelligent, that is to say that they are nested and that the information they present when loading the data is according to the information selected from the other filters.

Example : 

REPORT VEHICLE SPECIFICATIONS

selected > Filter : Person Name

                 Cars : List of Cars of a Person

Expected Results : List of Cars of selected person

Actual Telerik Report Results : List of Cars of ANY person

How do i work with nested filters ?

 

Declined
Last Updated: 19 Jan 2023 16:02 by ADMIN

In this file t.folder is lowercase which should be Capital t.Folder

 

t.folder  throws error

 t.Folder return value

 

same or files vs Files

Declined
Last Updated: 30 Dec 2022 15:28 by ADMIN
Visual Studio 2022 cannot open reports in x86 mode. The same project works correctly in VS 2019.
Declined
Last Updated: 02 Dec 2022 12:13 by ADMIN
Declined
Last Updated: 29 Nov 2022 09:37 by ADMIN
Created by: Patrick
Comments: 1
Type: Feature Request
0

Hi,

Have the possibility to have the "Select Case" or "Switch" function in the expressions.

Thanks!

Declined
Last Updated: 13 Oct 2022 06:34 by ADMIN

Product: Telerik ReportServer 8.1.22.622 ( 2022 R2 SP1 )

I can't delete any report file (.trdp) after being uploaded to Telerik Reports Server (Web Management).

When I click delete an error message says 'An error occurred when trying to delete report, can't connect to agent service'
but the reports agent is running well and other commands like (upload report, rename) also work fine except for Delete.

So I had to delete the reports server's storage folder (~\Data), setup everything again and re-upload all my reports again each time I want to delete a report.

If you would please fix this critical problem in the next versions so I can use Telerik Reports Server again.

Please fix it ASAP. Thanks

Declined
Last Updated: 12 Oct 2022 09:05 by ADMIN
  • The Report Viewer component is not correctly creating DateTime type fields. It renders them of type textbox.
    The current version of the Telerik Reporting library is: 16.2.22.914.
    We use Telerik UI for Blazor 3.6.1.
    We are using the Telerik.ReportViewer.Blazor library
Declined
Last Updated: 27 Sep 2022 07:09 by ADMIN

We are using Telerik reporting R2.2022 version in our project. Some of our reports have html link (created with tag “a”). If we preview those reports html link doesn’t act as an actual hyperlink, so it’s not clickable. We know that there is a HtmlTextBox limitation not to be interactive in WinUI report viewer. But this is important for us to be able to click on html link on WinUI and we need that functionality.  

I tested WinUI example project (CSharp.WinUIExample.VS2022.sln) and opened SwissQRBill.trdp report. The report has some links to the external source in internet, which is not clickable, but if you open it in Standalone report designer it’s clickable.  

Graphical user interface, text, application, email

Description automatically generated

Is it on your roadmap to implement that feature? 

Thanks,

Declined
Last Updated: 05 Sep 2022 14:35 by StillLearnin

Clicking the cancel button on the HTML5 report viewer show "Report processing was canceled" in the UI but the report is still being generated and rendered on the server.

In this old thread it is stated that it isn't possible to cancel the report generation on the server. Is that still the case?

1 2 3 4 5 6