Telerik Forums
Reporting Forum
1 answer
20 views
I'm hitting a call stack error when running the telerik Web designer in my app, put a few checks to ensure no double init but anyhow here's my init. No backend failures identified. The errors stem from the designer initializing all the controls (dropdowns, fields etc) at this point in the designers internal code.
Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at init.wrap (webReportDesigner.kendo-19.3.25.1111.min.js:16:433731)
    at webReportDesigner.kendo-19.3.25.1111.min.js:16:432594
    at Array.forEach (<anonymous>)
export const ReportDesigner = (): React.ReactElement => {
    const initializedRef = React.useRef(false)
    useEffect(() => {
        if (initializedRef.current) return
        // Make jQuery global for legacy scripts
        //@ts-expect-error: TS2339 (TS) Property '$' does not exist on type 'Window & typeof globalThis'.
        window.$ = window.$ || $
        //@ts-expect-error: TS2339 (TS) Property 'jQuery' does not exist on type 'Window & typeof globalThis'.
        window.jQuery = window.jQuery || $
        // Ensure Kendo exists globally
        const kendo = window.kendo
        if (!kendo) {
            console.error("Kendo UI must be loaded globally before initializing the designer!")
            return
        }
        
        const initDesigner = () => {
            if ($("#reportDesigner").data("telerik_WebReportDesigner")) {
                return // already initialized
            }
            //@ts-expect-error: TS2339 because Property 'telerik_WebReportDesigner' does not exist on type 'JQuery<HTMLElement>'.
            ($("#reportDesigner")).telerik_WebReportDesigner({
                serviceUrl: "/api/ReportDesigner",
            })
        }
        // Load Telerik designer scripts sequentially
        const loadDesignerScripts = (): Promise<void> => {
            return new Promise((resolve, reject) => {
                if (document.querySelector('script[src*="webReportDesigner-19.3"]')) {
                    resolve()
                    return
                }
                const coreScript = document.createElement("script")
                coreScript.src = "/telerik/webReportDesigner-19.3.25.1111.js"
                coreScript.onload = () => {
                    const kendoScript = document.createElement("script")
                    kendoScript.src = "/telerik/webReportDesigner.kendo-19.3.25.1111.min.js"
                    kendoScript.onload = () => {
                        // Plugin should now exist
                        //@ts-expect-error: TS2339 (TS) Property 'telerik_WebReportDesigner' does not exist on type 'JQuery<HTMLElement>'.
                        if (!$.fn.telerik_WebReportDesigner) {
                            console.error("Telerik Web Report Designer plugin not loaded!")
                            reject(new Error("Telerik plugin not loaded"))
                            return
                        }
                        resolve()
                    }
                    kendoScript.onerror = (error) => reject(new Error(`Failed to load kendo integration script ${error}`))
                    document.body.appendChild(kendoScript)
                }
                coreScript.onerror = (error) => reject(new Error(`Failed to load core designer script ${error}`))
                document.body.appendChild(coreScript)
            })
        }
        // Ensure scripts loaded + token ready
        loadDesignerScripts().then(() => initDesigner()).catch(err => console.error(err))
    }, [])

    return <div id="reportDesigner" style={{ height: "900px" }} />
}
 
Petar
Telerik team
 answered on 06 Mar 2026
1 answer
33 views
Based on our issue from 2 years ago, we implemented ISharedDataSourceResolver as a fix: https://www.telerik.com/forums/pass-user-claimsprincipal-from-reportscontroller-to-webservice-datasource-controller

    public class CustomSharedDataSourceResolver : Telerik.Reporting.Processing.Data.ISharedDataSourceResolver
    {
        /// <summary>
        /// Resolves and returns a DataSource instance from the provided <paramref name="sharedDataSourcePath"/> parameter.
        /// </summary>
        /// <param name="sharedDataSourcePath">The value of the Path property obtained from the report definition. Might be relative or absolute.</param>
        /// <returns></returns>
        public DataSource Resolve(string sharedDataSourcePath)
        {
            ValidateConfiguration();

            var absolutePathToSharedDataSourceDefinition =
                GetExistingFilePath(Configuration.Instance.ReportsPath, sharedDataSourcePath)
                ?? GetExistingFilePath(Configuration.Instance.SharedDataSourcesPath, sharedDataSourcePath);

[...]
It is registered in our Appsettings.json:

{
  "ConnectionStrings": {[...]},
  "AllowedHosts": "*",
  "AzureStorageBlobConfig": {[...]},
  "Logging": {[...]},
  "TelerikReporting": {
    "Processing": {
      "SharedDataSourceResolver": {
        "Provider": "custom",
        "Parameters": [
          {
            "Name": "typename",
            "Value": "TgsFlow.Plugin.Reporting.TelerikReporting.Utilities.CustomSharedDataSourceResolver, TgsFlow.Plugin.Reporting.TelerikReporting"
          }
        ]
      }
    }
  }
}
If I put a breakpoint on Resolve(), this breakpoint is hit on version 18.2.24.806 of Telerik.Reporting.Services.AspNetCore and Telerik.WebReportDesigner.Services. But if I upgrade those dependencies to 19.2.25.813 the breakpoint is no longer hit and the previously discussed fix no longer works.
1 answer
64 views

Hi 

I am using Telerik web reporting, and its givingan undefined isValid error on my web reporting designer.

 

Using Asp.net core, c# with front end react application

.NET SDK: Version:           9.0.304

React 18

Also getting this confgration errror from => http://localhost:{port}/api/reportdesigner/configuration

{

    "message": "An error has occurred.",
    "exceptionMessage": "Method 'CLIMessage' in type 'RuntimeInvalidLicenseStatus' from assembly 'Telerik.Reporting, Version=19.1.25.521, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' does not have an implementation.",
    "exceptionType": "System.TypeLoadException",
    "stackTrace": "   at Telerik.Reporting.Common.LicenseValidator.Init()\r\n   at Telerik.Reporting.Common.LicenseValidator.CreateInstance()\r\n   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)\r\n--- End of stack trace from previous location ---\r\n   at System.Lazy`1.CreateValue()\r\n   at Telerik.Reporting.Common.LicenseValidator.get_Instance()\r\n   at Telerik.Reporting.Services.Engine.ReportEngine.GetConfiguration()\r\n   at Telerik.Reporting.Services.AspNetCore.BusinessLogic.ReportsBusinessLogic.GetConfigurationInternal(IReportServiceConfiguration reportServiceConfiguration)\r\n   at Telerik.Reporting.Services.AspNetCore.ReportsControllerBase.GetConfiguration()\r\n   at lambda_method2(Closure, Object, Object[])\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n--- End of stack trace from previous location ---\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location ---\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"
}
Trish
Top achievements
Rank 1
Iron
 updated question on 08 Feb 2026
1 answer
35 views
I have the following inside of a table cell:

= "From: " + IsNull(Fields.OriginalLocation, '')
+ "\r\n"
+ "To: " + IsNull(Fields.NewLocation, '')
+ "\r\n"
+ "By: " + IsNull(Fields.Person, '')
+ "\r\n"
+ "On: " + IsNull(Fields.Date, '')

This does not work inside of the web report designer's "Value" field for the table cell. I have tried other methods as well. How can I ensure that there is a new line character between each of these?
Ivet
Telerik team
 answered on 12 Jan 2026
1 answer
159 views

Hello.
I am using ASP.NET Framework, and in the Telerik.Reporting.Graph section I have a chart that is populated by a stored procedure.
The output of my stored procedure has three columns: DayOfMonthProductionType, and Value, and it is structured as follows.

DayOfMonth ProductionType Value
1 Staple 1244
1 SumAll 3066.2
1 Tow 1822.2
2 Staple 624.9
2 SumAll 3984.6
2 Tow 3359.7
3 Staple 1865.38
3 SumAll 5126.18
3 Tow 3260.8

ProductionType has three values: TowStaple, and SumAll.

I need SumAll to be displayed as a line chart, and Tow and Staple to be displayed as bar (column) charts within the same chart.
DayOfMonth should be displayed horizontally on the X-axis and represent the days of the month.

No matter how much I tried, I could not limit the ProductionType values in the line chart using the filters in:

  • series < lineSeries1 < GraphGroup < Filters
  • series < SeriesGroup < Filters

so that only ProductionType = SumAll is shown in the line chart.

The only place where I managed to apply this filter was in:

  • Data < SeriesGroup < Filters

but that filters the entire dataset, causing the bar chart to be filtered as well.

Please help me with this issue.
A sample of my code is attached.

Thank you.

 

1 answer
64 views

Hello,

I have a TRDX report where the data comes from SQL stored procedures.
The report works successfully at runtime, and the data is returned correctly by the stored procedures.

However, in the Telerik Report Designer, I get errors like:

Object 'XXX' is not defined in the current context

=Fields.SomeField
=Fields.OtherField

So we are in a situation where:

  • SQL returns the fields correctly

  • The application renders the report correctly

  • But the Designer does not recognize the fields

  • And shows “not defined” errors during design time


What I understand

It looks like the Designer cannot infer the field schema from stored procedures unless they return static metadata.


Question

What is the recommended/best practice way to expose stored procedure output fields to the Designer so we avoid the “Object not defined” errors?

For example:

  • Should we add dummy SELECT statements for metadata?

  • Is there a supported/recommended pattern for TRDX reports using stored procedures?

  • Is there another way to force the Designer to read schema?

  • Important Note

    I am not asking about runtime behavior (which works).
    My issue is purely about design-time schema detection.

Dimitar
Telerik team
 answered on 09 Dec 2025
2 answers
556 views

Hello,

installed a new SDK and got

C:\Users\USER\.nuget\packages\telerik.licensing\1.6.5\build\Telerik.Licensing.targets(29,3): error MSB4216: Could not run the "ResolveTelerikProducts" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x64".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\9.0.307\MSBuild.dll" exists and can be run.

Works fine with previous SDK 9.0.306.

Any fix?

Todor
Telerik team
 answered on 20 Nov 2025
1 answer
49 views

i Have a report in which i pass a list from backend so that report render multiple time 
In Which i have multiple lists inside single list element, I want group header and footer for each list inside the main list element 
but i dont want group header and footer at every page 

when first time report renders , first group header prints and then list prints and then footer print after the list at the bottom of that page and page break after the footer and then repeat same for  the second list 

so how can i do that

3 answers
89 views

Hi,

after installation of Telerik Reporting (with examples option checked) I got installed AdventureWorks database, but it is empty and I can't run any example report without data.

Where can I get backup of AdventureWorks database with data ?

1 answer
50 views

ReportDesigner - is it possible to restrict "Build new data connections" and allow to use only "Select from existing data connections" ?

This question is regarding "Configure XXX_DataSource" window:

Petar
Telerik team
 answered on 01 Oct 2025
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?