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" }} />
} 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);
[...]{
"ConnectionStrings": {[...]},
"AllowedHosts": "*",
"AzureStorageBlobConfig": {[...]},
"Logging": {[...]},
"TelerikReporting": {
"Processing": {
"SharedDataSourceResolver": {
"Provider": "custom",
"Parameters": [
{
"Name": "typename",
"Value": "TgsFlow.Plugin.Reporting.TelerikReporting.Utilities.CustomSharedDataSourceResolver, TgsFlow.Plugin.Reporting.TelerikReporting"
}
]
}
}
}
}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.",
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: DayOfMonth, ProductionType, 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: Tow, Staple, 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:
so that only ProductionType = SumAll is shown in the line chart.
The only place where I managed to apply this filter was in:
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.

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.OtherFieldSo 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
SELECTstatements 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.
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?

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
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 ?
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: