Telerik Forums
Reporting Forum
1 answer
104 views

The report allignment in design view of the report and the allignment in runtime are different. It's seems that the page size changes.

How to solve this?

Attach images in design time and image in runtime of the report.

 

thank you!

Momchil
Telerik team
 answered on 27 Mar 2023
1 answer
415 views

I just inherited an old reporting website that I am trying to update. I didn't write it, but needed to convert to .net 6.0 for API compatibility. I was getting an error "Cannot access the Reporting REST service." but followed this guide https://www.telerik.com/blogs/embedding-beautiful-reporting-aspnet-core-web-applications and adding the ".AddNewtonsoftJson();" part now makes it so that I instead get an Exception "The extension is not supported."
   at Telerik.Reporting.Services.Engine.ResourcesEngine.GetMimeType(String filename)
   at Telerik.Reporting.Services.Engine.ResourcesEngine.GetResource(String folder, String name, String& mimeType, Type type)
   at Telerik.Reporting.Services.AspNetCore.ReportsControllerBase.GetResourceCore(String folder, String resourceName, Type type)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<<InvokeActionMethodAsync>g__Logged|12_1>d.MoveNext()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<<InvokeNextActionFilterAsync>g__Awaited|10_0>d.MoveNext()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<<InvokeNextExceptionFilterAsync>g__Awaited|26_0>d.MoveNext()

I have trdp files. I updated the path so the IReportServiceConfiguration points to the correct directory. I set a breakpoint in my ReportController ctor and it gets hit when I try to load the report page, but then I either get the error "Cannot access the Reporting REST service. (serviceUrl = '/api/reports/'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)" or the one about the file extension. I've followed all the guides for enabled CORS. Do I have to do any kind of MIME configuration to support the TRDP files?

 

Please advise. Thank you

Dimitar
Telerik team
 answered on 22 Mar 2023
1 answer
286 views

Hi all,

 

Our business uses a service, ubipark.com, which utilizes Telerik to generate reports on their website. (https://console.ubipark.com/Reports).

Part of my job is to use ubi park's online report viewer to generate Bank Reconciliation reports every morning. 

I wanted to ask if it is possible to automate this process? If I could have a PDF automatically saved and emailed to me daily that would be great. Is there any way to do this? Is there any functionality available in Telerik to automated generation and delivery of reports?

 

Screenshot of UbiPark attached, this is the screen I use to generate my daily reports.

 

TIA,

Parry

Dimitar
Telerik team
 answered on 16 Mar 2023
1 answer
460 views
hi all
I am getting a 

405 Method Not Allowed to http://localhost:17390/api/reports/clients/sessionTimeout request.
The reporting service is working fine since I'm able to get formats (
http://localhost:17390/api/reports/formats) and version (http://localhost:17390/api/reports/version) of the reporting.
I've tried enabling CORS, but that didn't work.


I think the problem is related to the ALLOW in "Response Headers".
Any idea how I can remove it.

PS
http://localhost:17390 - is the WebApi service
and http://localhost:5136- is the ASP.NET MVC application

Ganesh
Top achievements
Rank 1
Iron
 answered on 15 Mar 2023
1 answer
227 views
Hola podrían ayudarme con una solución para el boton de imprimir en Reporting Telerik asp.net
Dimitar
Telerik team
 answered on 15 Mar 2023
1 answer
350 views

I am migrating from the .CS version of reports to the .trdp format.  Overall the results have been good.  I have had to do some minor tweaks to a few data structures but noting significant.

I have run into a scenario for which I have not been able to come up with a solution.  Hopefully someone will have a bright idea for me.

I have an existing report which has 7 sub-reports.  The main report has a dataset which has all the data for the child sub reports.  Each child report have a single parameter that controls logic on how the data is formatted/presented when rendered.  Under the ".cs" flavor, I had more control of the data binding process and could point each sub report to its relevant data source and set the parameter to the required values.  I seem to lack this ability in the .trdp flavors.

While 7 sub-reports sounds large,  it actually is 3 reports with the same sub-report being re-used with different data sources and parameters.

The root/parent reports data looks like the following:



List<reportAData> report1data
List<reportAData> report2Data
List<reportAData> report3Data
List<reportBData> report4Data
List<reportBData> report5Data
List<reportBData> report6Data
List<reportCData> report7Data

In theory I need to set the data source of sub report #1 to "report1Data", set its parameter to the root parameter "A".  Then set sub report #2 to "report2Data" and set its parameter to the parent parameter "B".  The same repeats for the rest of the data.

I do not know how to do that.  The instructions I have seen say to open the child sub-report and modify its's bindings to use the parents data object.  That would work however I have the same sub-report being used 3 times with different sources and different parameters.

Any suggestions for a strategy?

Dimitar
Telerik team
 answered on 15 Mar 2023
1 answer
437 views

I have implemented web report designer in Blazor Hybrid and .Netcore server application separately.  But it gives an error like mentioned below.

Uncaught TypeError: this.$toolsWrapper.kendoPanelBar is not a function
    at d.init ((index):9:818087)
    at new d ((index):9:817562)
    at o.init ((index):9:1199454)
    at new o ((index):9:1199060)
    at m.init ((index):9:488638)
    at new m ((index):9:487953)
    at new K ((index):9:875474)
    at y.init ((index):9:478896)
    at (index):9:477756
    at r.onload ((index):9:19389)

But i have implanted the libraries inside the index.html file like this.

<head>


    <!--Telerik Report Designer-->

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2022.3.913/js/kendo.all.min.js"></script>


</head>

<body>

    <!--for telerik report designer-->
    <script src="_framework/blazor.webview.js" autostart="false"></script>
    <script src="_content/telerik.webreportdesigner.blazor/telerikWebReportDesignerInterop.js" defer></script>
    <script src="https://localhost:7036/api/reportdesigner/designerresources/js/webReportDesigner/"></script>
    <script src="https://localhost:7036/api/reportdesigner/resources/js/telerikReportViewer"></script>  

</body>   

 

this is the razor file

@using Telerik.WebReportDesigner.Blazor



<h1>Testing Web Designer</h1>

<style>
    #wrd1 {
        position: relative;
        width: 100%;
        height: 1880px;
        padding-right: 50px;
    }
</style>


<link rel="stylesheet" href="https://unpkg.com/@@progress/kendo-theme-default@latest/dist/all.css" />

<WebReportDesigner DesignerId="wrd1"
                   ServiceUrl="@ReportDesignerSetting.ReportRestServicePath"
                   Report="SampleReport.trdp"
                   ToolboxArea="new ToolboxAreaOptions(){ Layout = ToolboxAreaLayout.List}"
                   PropertiesArea="new PropertiesAreaOptions(){Layout = PropertiesAreaLayout.Categorized}" />

what can be the reason for this issue?

I think  <script src="https://kendo.cdn.telerik.com/2022.3.913/js/kendo.all.min.js"></script> library causing this issue. 

Also after adding this library head Telerik report viewer components are not working too. it's error like this.

telerikReportViewer:9 
        
       Uncaught (in promise) TypeError: e.children(...).kendoPanelBar is not a function
    at d (telerikReportViewer:9:112655)
    at new r (telerikReportViewer:9:112606)
    at HTMLDivElement.<anonymous> (telerikReportViewer:9:115742)
    at Object.each (telerikReportViewer:9:4145)
    at I.fn.<computed> [as telerik_ReportViewer_SideMenu] (telerikReportViewer:9:115687)
    at HTMLDivElement.<anonymous> (telerikReportViewer:9:116170)
    at Object.each (telerikReportViewer:9:4145)
    at Object.bind (telerikReportViewer:9:116082)
    at init (telerikReportViewer:9:143996)
    at start (telerikReportViewer:9:147870)
d @ telerikReportViewer:9
r @ telerikReportViewer:9
(anonymous) @ telerikReportViewer:9
each @ telerikReportViewer:9
I.fn.<computed> @ telerikReportViewer:9
(anonymous) @ telerikReportViewer:9
each @ telerikReportViewer:9
bind @ telerikReportViewer:9
init @ telerikReportViewer:9
start @ telerikReportViewer:9
Promise.then (async)
(anonymous) @ telerikReportViewer:9
Promise.then (async)
(anonymous) @ telerikReportViewer:9
Promise.then (async)
main @ telerikReportViewer:9
ReportViewer @ telerikReportViewer:9
(anonymous) @ telerikReportViewer:9
each @ telerikReportViewer:9
jQuery.fn.<computed> @ telerikReportViewer:9
createReportViewerWidget @ interop.js:8
(anonymous) @ blazor.webview.js:1
beginInvokeJSFromDotNet @ blazor.webview.js:1
(anonymous) @ blazor.webview.js:1
(anonymous) @ VM8:7
(anonymous) @ VM7:1

 

Is there any solution for this?

         
Todor
Telerik team
 answered on 14 Mar 2023
7 answers
993 views

Hi there,

I have to print a group of invoices of different clients in one .pdf, and I need to add an extra blank page for each invoice that has odd pages count, because I need to print them using double-side print.

Example:

Invoice #1: 2 pages

Invoice #2: 1 page

Invoice #3: 1 page

I need to print a pdf with 6 pages (page 4 and 6 should be empty).

 

I'm using Reporting Q3 2013

Thanks in advance.

piter
Top achievements
Rank 1
Iron
 answered on 14 Mar 2023
1 answer
221 views

I'm calling API through web service data source. and in that there is one array. I want to pass that in tables, line chart, and other charts. It is not working with any of the chart or table or any component. can someone help me to how to iterate those values in any of the chart or table or to access the elements in web report designer.

This is the Screenshot of the Explorer Tab. Here count is the number and entries is array.

Momchil
Telerik team
 answered on 14 Mar 2023
0 answers
707 views

I'm running Telerik Reporting 16.2.22.1109 on windows 10 and just got the unexpected error during work:


System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at Telerik.Reporting.Serialization.ObjectReader.Deserialize(IResourceHandler handler)
   at Telerik.Reporting.XmlSerialization.XmlSerializerBase.Deserialize(TextReader reader, IResourceHandler resourceHandler)
   at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.XmlDocDataHandler.DeserializeReport(IDesignerLoaderHost targetHost)
   at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.ReportDocumentDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

 

What caused this and how to fix it?

 

AD

A
Top achievements
Rank 1
 asked on 13 Mar 2023
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?