Telerik Forums
Reporting Forum
1 answer
84 views

I report that crashes if there are more than 10 or so pages.  I have simnpified this report so it has no formatting, no grouping and only one field of data.   I have made this report as simple as I can.

When I run the report I get the error below.

{"message":"","exceptionMessage":"One or more erro…ype":"DocumentRenderException","stackTrace":null}', _error: '', _responseJSON

If I run the same report but filtered for fewer pages, it works fine.

Todor
Telerik team
 answered on 31 Jan 2025
1 answer
41 views
I'm trying to show comboboxes instead of list using following lines of code but it is not working. It keeps showing me the listbox only.
My version is 18.1.24.514 and given code is part of angular application in my typescript file.
this.viewer = $('#reportViewer')
      .telerik_ReportViewer({
        serviceUrl: `${environment.apiUrl}/reportdesigner/`,
        reportSource: {
          report: `${reportName}`,
          parameters: {
            editors: {
              singleSelect: 'COMBO_BOX',
              multiSelect: 'COMBO_BOX',
            },
          },
        },
        parametersAreaVisible: true,
        parametersAreaPosition: 'TOP',
      })
      .data('telerik_ReportViewer');

Any help on this?
Krunal
Top achievements
Rank 1
Iron
Iron
 answered on 30 Jan 2025
1 answer
68 views

"How can I get continuous serial numbers (1, 2, 3, 4, etc.) in a grouped table with 12 columns? Currently, the 'Column()' is only displaying 1. How can I generate a proper serial number for the grouped table?"

Dimitar
Telerik team
 answered on 29 Jan 2025
1 answer
108 views

Hello,

I am using the Telerik Angular Report Viewer and Reporting REST service to configure Telerik Reporting. However, I am unable to obtain the authorization token needed to set the connection string. I have implemented the Telerik custom report source resolver in my application. After reading a few articles, I learned that the authorizationToken can be set in the HTML file. However, I am unsure how to apply this token in my report controller or within my custom source resolver.

Telerik angular viewer :

<div class="modal fade show full-width" tabindex="-1" role="dialog" style="display:block">
            <div class="viewer-container">
                <tr-viewer #viewer1
                                     [containerStyle]="viewerContainerStyle"
                                     [serviceUrl]="msServiceURL"
                                     [reportSource]="mobjReportSrc"
                                     [viewMode]="'CONTINUOUS_SCROLL'"
                                     [scaleMode]="'FIT_PAGE_WIDTH'"
                                     [scale]="1.0"
                                     [ready]="ready"
                                     [viewerToolTipOpening]="viewerToolTipOpening"
                                     [enableAccessibility]="false"
                                     [keepClientSideReportInstance] = "true"
                                     [authenticationToken] ="strToken"> </tr-viewer>
            </div>

</div>

Report controller -

[Route("api/BME/[Controller]")]
[ApiController]
public class ReportsController : ReportsControllerBase
{
    public int ClientSessionTimeout { get; set; }
    public ReportsController(IReportServiceConfiguration reportServiceConfiguration, IConnectionFactory connectionFactory)
        : base(reportServiceConfiguration)
    {

    }

 

Thank You,

Pragati

 

Dimitar
Telerik team
 answered on 29 Jan 2025
1 answer
67 views
How do we get rid of this (see screenshot), this wasn't shown before and this button does nothing.
Dimitar
Telerik team
 answered on 29 Jan 2025
2 answers
46 views

I am upgrading my Blazor application to .Net 9 and changing the report viewer from the older Blazor viewer to the new Blazor Native viewer and I have found that when I use the search to find text within a report that the text when found is not highlighted as it was in the previous version.  I've followed the instructions for configuring the viewer and everything else seems to be working correctly.  I'm not receiving any error messages so I don't know if this is just a missing feature not implemented in the newer Native viewer.

 

Carl
Top achievements
Rank 1
Iron
 answered on 28 Jan 2025
1 answer
75 views

Hi, 

Do we have any property to pass auth token to web report designer?

I have seen the way around to intercept fetch and pass token but its going to add header in all call from applications.

Can we please add a property to add token like we have in Report Viewer.

 

Thanks

 

Dimitar
Telerik team
 answered on 28 Jan 2025
4 answers
950 views

Greetings.!

how i can send parameters from asp .net core project and show it in telerik reporting with an conexion  mySQL.
attached proyect

Regards.!

Dimitar
Telerik team
 updated answer on 27 Jan 2025
1 answer
246 views

Is it possible to add the code from the HTML5 report viewer to a view (cshtml file) in asp.net core 2.2 and have it work?  I am trying to avoid any static files. I followed this example:  https://docs.telerik.com/reporting/manual-setup-of-html5-report-viewer-in-asp-net-core-2.  I put the head info in the _layout.cshtml file and the viewer code on the index.cshtml.  It throws this error:

Uncaught TypeError: $(...).telerik_ReportViewer is not a function
    at HTMLDocument.<anonymous> ((index):87)
    at l (jquery-3.3.1.min.js:2)
    at c (jquery-3.3.1.min.js:2)

Dimitar
Telerik team
 updated question on 27 Jan 2025
1 answer
427 views

Hai,

I am spending hours and hours trying to get a simple Telerik Report to work in my Blazor web app.
All documentation on the website is for ASP.Net Core 6 and the ASP.Core 7 samples I can find, do not work for me...

I have a simple Blazor Web App that communicates with a Blazor Server using controllers and endpoints like. The data is stored in a SQL Server.

I have a table 'Genders' and I simply want to show a report with the fields id and name of table genders using the 'api/gender' endpoint to get the genders: 

var response = await httpDefaultClient.GetAsync("api/gender");
        if (response.IsSuccessStatusCode)
        {
            genderList = await response.Content.ReadFromJsonAsync<List<GenderModel>>();
        }

Is there a complete walkthough, thus including creating the Telerik report itself, creating the reportcontroller, in the server, adding services etc.

I am totally new to Telerik and I simply do not understand how to implement Telerik in my application.
Hope somebody can direct me to a good, working, sample or walkthrough... 

Regards, Marc

Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?