Telerik Forums
Reporting Forum
9 answers
904 views

Hi all,

I hope that you can help me.
I want to start using Redis cache for my reports but the initial few tests seem problematic as the entries in Redis have a TTL of -1 and therefore also never expires. I must be doing something wrong, any help would be appreciated.

Tech. stack:

  • ASP.NET Core 3.1
  • HTML5 Report Viewer
  • Telerik Reporting Version 14.2.20.916
  • Telerik.Reporting.Cache.StackExchangeRedis.2 Version 14.2.20.916

Code sample of the report configuration:

public ReportConfiguration(ApplicationConfiguration appConfig,
                           IConfiguration configuration,
                           IWebHostEnvironment webRoot,
                           ConnectionMultiplexer redisConnectionMultiplexer )
{
    var reportsPath = Path.Combine(webRoot.WebRootPath, "Reports");
    ReportingEngineConfiguration = configuration;
    HostAppId = "MyApp";
    Storage = new RedisStorage(redisConnectionMultiplexer, RedisCacheKeys.WebReport);
    ReportSourceResolver = new TypeReportSourceResolver().AddFallbackResolver(new UriReportSourceResolver(reportsPath));
    ClientSessionTimeout = 5;
    ReportSharingTimeout = 5;
}


Thanks in advance for your help.

Kind regards,
Jacques
Dimitar
Telerik team
 answered on 18 Jan 2021
5 answers
317 views

I created DataMatrix on Report Designer R3 2020 at next settings

    Encoder:  DataMatrix

    Encodation: Ascii

    SymbolSize: SquareAuto

    TextEncoding: Unicode (UTF-8)

    Module: 2pt

    Value:1

But, it could not read by barcode reader.

If the SymbolSize is "RectangleAuto", it can be read. But, I should be use "SquareAuto".

And, my barcode reader can read the same type DataMatrix generated by other web site generator .

Curiously, the DataMatrix for Reporting Designer reports and the DataMatrix for other websites are in the form of mirrors.

Can anyone tell me what's wrong?

Neli
Telerik team
 answered on 18 Jan 2021
4 answers
907 views

Hello Telerik Team,

I am using Telerik Standalone Designer.

IsNull Function is not working for me.

=IsNull(Fields.status, " ") 

My Response is "status": null,

It showing an error like this. "textbox cannot perform "=" Operation on Newtonsoft.Json.Linq.Jvalue and System.String"

i have attached screenshot of the error for the more information to help you.
Please Reply as soon as Possible.

Thanks In Advance.

Tyler
Top achievements
Rank 1
 answered on 17 Jan 2021
1 answer
75 views
Greeting, I was trying to save my report as pdf by using "report.SaveAs(C:\\ReportName.pdf)" from my C# project. But it happened to change the component style when I do so. Below is the attachments of the preview of report when using Visual Studio debug and when open the pdf file itself. Please help me on how to prevent this. Thanks
Neli
Telerik team
 answered on 15 Jan 2021
1 answer
127 views

I'm using a JsonDataSource, InlineData, and I'm trying to edit/paste JSON in the data field. This is resulting in a 500-error stating that the parameter stream cannot be null. This only happens when I edit this data field. If I edit other parts of my report, everything is fine.

It seems like this is a front-end error, because if I set a breakpoint on the Save-function it seems to Base64-encode this field unless I try to edit it manually. If I paste in the data as Base64-encoded, it saves as normally and displays correctly upon refresh.

Is this a bug, or is there something wrong in my setup?

Neli
Telerik team
 answered on 15 Jan 2021
1 answer
190 views

Hi,

We are facing some issue with reporting. When we set Pagebreak to none, 2 different detail sections are coming in single page as single detail section. Is there any way to show them as 2 different section in single page. I have attached the screen shot for reference.

Todor
Telerik team
 answered on 15 Jan 2021
7 answers
392 views

Hello Telerik,

I need to create an Invoice Report where the vertical lines in detail section are extended for all the height of the section.

N.B The GroupFooterSection has "PrintAtBottom"=True  in order to reserve the maximum central space  to the detail of the invoice . 

Unfortunately, however, the vertical lines end when printing the last detail record.

See the picture in attachment to understand what I need.

Thanks

Gaetano

 

Todor
Telerik team
 answered on 15 Jan 2021
1 answer
125 views

Hi All, 

1st report is connected to SQL data source and 2nd report is connected Web services data source. 

When user view is shifting from 1st report to 2nd report, 2nd report is taking time to load (2 minutes or more .. delay ).

Until the 2nd report loads the UI is blank white screen.  

Thanks, 

Vikram 

Todor
Telerik team
 answered on 14 Jan 2021
2 answers
97 views
Hi,
I have a web page that is using several Kendo UI controls (charts, lists) in MVC 5 project. The code example is below.
Now I have to create a Telerik report to display all of them in PDF. I've found that there is no a simple conversion from Kendo js UIs to report.
My question is, what is the better way to have/convert the existing Kendo js UIs into Telerik report?
Thanks.

                        <script>
                            function createChartOtmPerf() {
                                $("#chartOTMPerf").kendoChart({
                                    dataSource: {
                                        data: otmBenchmarkData
                                    },
                                    chartArea: {
                                        margin: {
                                            top: -50,
                                            bottom: 0,
                                            left: 0,
                                            right: 0
                                        },
                                        padding: 0
                                        //background: "beige"
                                    },
                                    seriesDefaults: {
                                        type: "area",
                                        stack: true,
                                        missingValues: "gap"
                                    },
                                    series: [
                                        {
                                            type: "line",
                                            missingValues: "gap",
                                            field: "Vlu",
                                            color: "black",
                                            markers: {
                                                visible: false
                                            },
                                            tooltip: {
                                                visible: true,
                                                template: "#= dataItem.DtTxt # - #= kendo.format('{0:C0}',dataItem.CurrentValue)  #"
                                            },
                                            stack: false
                                        },
                                        {
                                            type: "line",
                                            field: "TopLine",
                                            color: "black",
                                            width: 0.1,
                                            markers: {
                                                visible: false
                                            },
                                        },
                                        {
                                            field: "Band5",
                                            color: "red",
                                            tooltip: {
                                            }
                                        },
                                        {
                                            field: "Band6",
                                            color: "yellow",
                                            tooltip: {
                                            }
                                        }, {
                                            field: "Band7",
                                            color: "green",
                                            tooltip: {
                                            }
                                        }, {
                                            field: "Band8",
                                            color: "blue",
                                            tooltip: {
                                                visible: false
                                            }
                                        }
                                    ],
                                    valueAxis: {
                                        labels: {
                                            visible: false
                                        },
                                        line: {
                                            visible: true
                                        },
                                        majorGridLines: {
                                            visible: false
                                        },
                                        axisCrossingValue: -8
                                    },
                                    dataBound: onDB,
                                    categoryAxis: {
                                        field: "Yr",
                                        majorGridLines: {
                                            visible: false
                                        },
                                        majorTicks: {
                                            visible: false
                                        },
                                        labels: {
                                            visible: true,
                                            rotation: 315,
                                            step: 12
                                        },
                                        line: {
                                            visible: true
                                        }
                                    }
                                });
                                function onDB(e) {
                                    e.sender.options.categoryAxis.labels.skip = labelSkip;
                                }
                            }
                        </script>
Andrey
Top achievements
Rank 1
Veteran
 answered on 14 Jan 2021
1 answer
282 views

Couple of questions on the TOC.

Normally the TOC has one set of page numbers, and is Roman numbers, but the report starts with page 1.

How do you set the page numbers to be Roman numerals?

How do start the report page numbers at 1?

 

Todor
Telerik team
 answered on 13 Jan 2021
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?