Telerik Forums
Reporting Forum
1 answer
201 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
322 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
403 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
954 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
198 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
653 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
1 answer
179 views

Hello, 

 

I am trying to see what option is the best for making report book in run time in my angular application.

In the article posted by you : https://docs.telerik.com/reporting/knowledge-base/how-to-display-reportbook-in-viewer , the third solution is not recommended  but that solution explains what I need, and that is that users can check reports which they want to merge in a report book, and do it by themselves and not by me in design time. So my question is why this solution is not recommended? Is there any bugs, any problems or this is just not working properly ? 

 

Thanks in advance!

Tamara

Dimitar
Telerik team
 answered on 10 Mar 2023
1 answer
242 views
am new to telerik, in trial version , my report server is hosting in localhost:83 and tried to render the report in angular using<tr-viewer> component with all the required parameters and also i set the guest user account in telerik server,/formats, /clients endpoints are working as expected but /parameters post request is getting failed, can anyone help what i missed here
Dimitar
Telerik team
 answered on 09 Mar 2023
1 answer
266 views

From where to download file

telerikReportViewer-17.0.23.118.min.js

Dimitar
Telerik team
 answered on 08 Mar 2023
1 answer
116 views

After migrating our Reports REST service from a VM to an Azure App Service we are no longer able to print using the vector (EMF) format. I found this article from 2018 recommending we use raster/PNG as the print output: https://docs.telerik.com/reporting/knowledge-base/unable-to-print-reports-from-azure-environment. Using this setting works but results in some reports being 20MB+ when printing. Viewing reports using vectors works and saving them as PDF vector works as well. Is there an update or another way to enable printing with vectors from Azure App Service?

Dimitar
Telerik team
 answered on 07 Mar 2023
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?