Telerik Forums
Reporting Forum
1 answer
147 views

Hello,

I understand that the team is working hard to support the Report Designer for .NET 8 projects in Visual Studio 2022.  However, may I know whether the Report Designer for .NET Framework 4.8 projects will be supported in Visual Studio 2026?

Thanks.

Deepak Gupta

Ivet
Telerik team
 answered on 18 Nov 2025
1 answer
30 views

Hi, 

I am facing an issue with Telerik Report with C# when assigning a SqlDataSource to a table programmatically in a Telerik Report. The problem occurs only when the stored procedure has parameters — the report returns no data, but it does not throw any exceptions. When the stored procedure has no parameters, everything works correctly.

Environment

  • .NET version: .net 9.0
  • Report Type: TRDP (packaged report)
  • Rendering from C# code (ReportProcessor)

Problem Description

Inside my TRDP report, I locate a Table item at runtime and assign a new SqlDataSource to it. The SqlDataSource uses:

  • A valid SQL Server connection string
  • A stored procedure name
  • A parameter (e.g. @Year)

The issue:

  • When the stored procedure has parameters, the report shows no data even though no exceptions occur.
  • When the stored procedure does NOT have parameters, everything works correctly.
  • Executing the stored procedure in SSMS using the same parameter value returns rows.

Code Example

var table1 = FindItem<Table>(report, "table1");

if (table1 != null)

{

    var dsTable = new Telerik.Reporting.SqlDataSource();

    dsTable.ConnectionString = connectionString!;

    dsTable.SelectCommand = storedProc!; // ex: "dbo.MyReportProc"

    dsTable.SelectCommandType = SqlDataSourceCommandType.StoredProcedure;

 

    // Adding parameter

    dsTable.Parameters.Add("@Year", DbType.Int32, 2024);

 

    table1.DataSource = dsTable;

}

 

What I have already confirmed

  • Connection string is valid (works for non-parameterized SP).
  • Stored procedure name is correct and exists.
  • Parameter name matches exactly (@Year).
  • Data exists in the database for the specified parameter.
  • Removing the parameter from the SP makes the report return data normally.
  • The same logic reproduces consistently.

Question / Request

Could you please advise whether:

  1. There is a known issue when assigning a SqlDataSource with parameters programmatically?
  2. Parameter names for stored procedures require a specific format (e.g., no @ prefix)?
  3. Additional configuration is needed when binding a stored-procedure data source at runtime?
  4. There are diagnostics or logging steps to help trace how parameters are passed inside Telerik Reporting?

 

Thank you for your assistance.

Todor
Telerik team
 answered on 18 Nov 2025
2 answers
22 views

I have a requirement to produce reports for archival purposes that can consist of 50K-60K rows.  WPF client app code snippet is:


                tblDetail.NeedDataSource += (s, e) =>
                {
                    var t = (Table)s;
                    t.DataSource = visibleRows;
                };

                var reportProcessor = new ReportProcessor();
                RenderingResult? result = reportProcessor.RenderReport("PDF", report, null);
RenderReport performance is abysmal for even a simple report - 11 columns, 1 grand total row (so far), no pagecount (but it will be needed). Can I do anything to dramatically improve performance or should I look for an alternative to Telerik Reporting?
Todor
Telerik team
 answered on 03 Nov 2025
1 answer
21 views

I have a report with all of the content in a  group header section, all of which fits nicely on one page with one problem. I have a subreport in the content shown here on the designer;

The Subreport is a simple name list with just a detail section (no headers - the waring is that it's not full page width and will be extended horizontally - not what I want, but OK...);

However, it renders like this;

I.e. With a page break before it, with the sub report object (Green) from the main report expanding to full page height, then another page break afterwards and then the rest of the content

I've checked all of the page break settings and they're all set to none - anyone seen anything similar?

 

Richard
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 30 Oct 2025
1 answer
19 views

Hi, we're looking to integrate Telerik Reporting with a very niche sql database, SAP SQL Anywhere, on dotnet core.  The only way we can connect to that database in dotnet core is System.Data.Odbc and defining the ODBC Driver in the connection string.

Can Telerik Reporting support this method out of the box, or is there a way of writing some glue code to integrate Telerik Reporting with SAP SQL Anywhere?

Happy to answer any clarifying questions.

Appreciate your help.

Dimitar
Telerik team
 answered on 24 Oct 2025
1 answer
21 views

After using Telerik reporting for over 10 years, with the latest update we are now getting this error when trying to print a report.

Looks like we now need to add something to our app.config file.

Would be cool if this were documented somewhere

Ivet
Telerik team
 answered on 21 Oct 2025
1 answer
25 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

2 answers
35 views

I have a .NET Core Web API that generates reports using Telerik Reporting. The report generation works perfectly in my local development environment, but when deployed to an Azure VM with IIS, it fails immediately with OperationCanceledException. The operation doesn't even wait for the configured 5-minute timeout.

The issue is intermittent. It works sometimes but suddenly stops working without any code changes.

Error Stack Trace

The operation was canceled.     at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.SpinThenBlockingWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.InternalWaitCore(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken)
   at Telerik.Reporting.Paging.PageCompositionBase.SeparateThreadOutputBehavior.Finish()
   at Telerik.Reporting.Paging.PageCompositionBase.CreatePages()
   at Telerik.Reporting.Paging.PagerBase.Telerik.Reporting.Paging.IPager.CreatePages(IPageHandler handler, LayoutElement root)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(LayoutElement root, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback, PageSettings pageSettings)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo, CreateStream createStreamCallback, CancellationToken cancellationToken, String& documentName)


here is the code for report generation

public SalesSummaryDataOutput SalesSummaryReport(SalesReportSummaryRequest requestReport)
{
    string reportPath = "\\Reports\\" + ReportTypes.SalesSummary.ToString() + ".trdx";
    var reportProcessor = new ReportProcessor();
    var deviceInfo = new Hashtable();
    var reportSource = new UriReportSource();

    reportSource.Uri = _hostEnvironment.ContentRootPath + reportPath;
    reportSource.Parameters.Add("FromDate", requestReport.FromDate);
    reportSource.Parameters.Add("ToDate", requestReport.ToDate);
    reportSource.Parameters.Add("CompanyId", requestReport.CompanyId);
    reportSource.Parameters.Add("LocationId", requestReport.LocationId);
    reportSource.Parameters.Add("UserId", requestReport.UserId);
    reportSource.Parameters.Add("ExecuteReport", true);

    deviceInfo["OutputFormat"] = "PNG";
    deviceInfo["DpiX"] = 192;
    deviceInfo["DpiY"] = 192;
    deviceInfo["Timeout"] = 300000;
    deviceInfo["ThreadCulture"] = CultureInfo.CurrentCulture.Name;

    try
    {
        CloseStreams();
        string documentName = "ReportDocument";
        var cts = new CancellationTokenSource(TimeSpan.FromMinutes(5));
        bool result = reportProcessor.RenderReport("IMAGE", reportSource, deviceInfo, CreateStream, cts.Token, out documentName);

        if (result)
        {
            var salesSummaryReport = new SalesSummaryDataOutput();
            foreach (var stream in _streams)
            {
                byte[] imageData = ReadToEnd(stream);
                string base64String = Convert.ToBase64String(imageData, 0, imageData.Length);
                salesSummaryReport.ReportImages.Add(base64String);
            }
            CloseStreams();
            return salesSummaryReport;
        }
    }
    catch (Exception ex)
    {
        var salesSummaryReport = new SalesSummaryDataOutput();
        salesSummaryReport.ReportImages.Add($"Error: {ex.Message}");
        CloseStreams();
        return salesSummaryReport;
    }

    return new SalesSummaryDataOutput();
}

Why does the cancellation happen immediately in IIS but not locally?

What could cause this intermittent behavior?

Are there specific IIS or Telerik configurations I'm missing?

Lasitha
Top achievements
Rank 1
Iron
 answered on 15 Oct 2025
1 answer
42 views

Hi all -- I'm just starting to try to use the KendoReactFree components to see what the library is like. I'm starting with the Grid component -- I know it has both free and paid elements, but even in with its simplest configuration, I'm getting an error banner saying that I need a license: 

License key missing for KendoReact v12.1.0. A license key is required for both paid and trial usage. Learn how to set up a license key.
See the browser console for a list of Premium features currently in use.

The message says that I can check the console for a list of Premium features in use, but the console just says I need a license -- no list of features. I'm using the sample code from your website: 

This is the whole code:

import { Grid, GridColumn as Column } from '@progress/kendo-react-grid';
import products from './products';
export default function KendoGridPage() {
  return (
    <Grid data={products} />
  );
}
Should this be getting that banner? What Premium features are in use? Is there something I need to do to invoke the free usage? 

Thanks
Vessy
Telerik team
 answered on 14 Oct 2025
3 answers
50 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 ?

Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?