Telerik Forums
Reporting Forum
1 answer
19 views

We use BlazorNative for Reporting.

In the sample with external parameters, there is the idea shown after submitting the Report:

  • Submit, make the Form invisible
  • start a delay (eg. 2000ms)
  • and make the Form visible again.

This works, but from the user perspective it is unclear what is  happening. Cause in the Viewer we have this message "0 pages so far..." and after a log processing time, the (big) report shows up, meanwhile the dialog is visible earlier. This leads to confusion of the user.

A better solution would be, setting the Form visible again after the Report is fully displayed.

Is there a event we can catch? Maybe in JavaScript with JsInterterop to gain this information?

 

Dimitar
Telerik team
 answered on 30 Oct 2023
1 answer
10 views

I am making a telerik report

However, I want to display a diagonal line in the textbox when a specific value comes in.

I want it to be displayed like this.


this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.StyleName = "Aspect.TableBody"; this.textBox10.Value = "= IIf(Fields.Name = 'Day', ' ', Fields.Name)";


I wrote the code like this, and first of all, if the data is Day, it is treated as blank, but when the data is Day, I want to display it like an image

Todor
Telerik team
 answered on 30 Oct 2023
1 answer
16 views

When i create report in standalone application with WebServiceDataSource as trdx file i can see section for Authentication with user and password

      <Authentication>
        <WebServiceBasicAuthentication Password="eYk0jBuZWWwHo1LHgtDHjA==" Username="user" />
      </Authentication>

what algorithm do you use to hash password? how it is save?

Momchil
Telerik team
 answered on 30 Oct 2023
1 answer
12 views

Hi.. 

I have this qrcode string
Fields.ProductMasterCode+"|"+ Fields.ProductName +" | "+ Fields.hashstring

after scan barcode, symbol | (pipe) missing. 

my qcode setting is

encoder - QRCode

ECI - CP437

ErrorCorrectionLevel - L

Mode - Alphanumeric

Todor
Telerik team
 answered on 27 Oct 2023
1 answer
22 views

I am using Telerik Reporting 12.1.18.620 in my ASP.NET (4.8) web application. It has been working fine for years but I suddenly encountered this error.

    public void SetReport()
    {
        if (hidReportName.Value.Length > 0)
        {
            var reportPlaintext = hidReportName.Value.QsDecrypt();
            var report = string.Format("TelerikReports.{0}, TelerikReports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", reportPlaintext);
            try
            {
                Type reportType = Type.GetType(report);
                IReportDocument reportDocument = (IReportDocument)Activator.CreateInstance(reportType);
                Report = reportDocument as Report;
                ReportViewer.ReportSource = (ReportSource)reportDocument;  //Here is where the error occurs
            }
            catch (Exception)
            {
                throw new Exception(String.Format("Error loading Telerik report '{0}'", ReportName.QsDecrypt()));
            }
        }

I have searched extensively and tried to resolved this error but I am stymied. This is a huge blocker because I can't deploy the latest (non-reporting) code to production until this is fixed. I have been working on this for a week now with no luck.

Please help!

Dimitar
Telerik team
 answered on 25 Oct 2023
1 answer
34 views

Hi,

when i open an image on pc it is perfect instead on report the image load is rotate 180 degree.

can i rotate image on telerik report designer?

 

Michele
Top achievements
Rank 1
Iron
 updated answer on 24 Oct 2023
0 answers
21 views

Hello I'm having issues when report is being generated thru report viewer its creating empty spaces.

Preview Looks good.

Report viewer.

Appreciate any help thanks.

2 answers
93 views

Hello.
Currently I am designing a report, very simple report like below.
I'm using Web report designer written in Razor pages (.NET 6)
I run the Web report designer on Linux (docker/kubernetes) and on Windows (IIS)

The properties of two textBoxes (marked above textBox40 and textBox42) are like below

on Linux

The report preview looks like this

In the preview above, the word "przekroczenia" (exceedance in Polish) has been cut off but should be moved to a new line.

After exporting the report to XLSX

In the preview above, after exporting the report to XLSX, the letters are cut off.

After exporting the same report to PDF, it looks like this

In the preview above, after exporting the report to PDF, there is no spaces and there is no text wrapping.

on Windows

The report preview looks like this

In the preview above, everything looks good.

After exporting the report to XLSX

In the preview above, after exporting the report to XLSX, the letters are cut off.

After exporting the same report to PDF, it looks like this

In the preview above, everything looks good.

My appsetting.json file contains

"telerikReporting": {
  "extensions": [
    {
      "name": "PDF",
      "parameters": [
        {
          "name": "FontEmbedding",
          "value": "None"
        }
      ]
    }
  ]
}

I have tried all options related to FontEmbeddingFull, Subset, None and the result is always the same.
The only thing that changes is the PDF file size (and this is logical).

What should I set in order to fix all errors.
Report exported to XLSX on Windows and Linux looks the same badly. The letters are cut off.
Report exported to PDF on Linux looks very bad. There is no spaces and there is no text wrapping.
Report exported to PDF on Windows looks good.

Regards!

LLCD
Top achievements
Rank 1
Iron
 updated answer on 18 Oct 2023
1 answer
28 views

Hi,

Our ERP System uses Telerik Reports and we use the standalone report designer as part of the package.

We're running in to an issue where computers that use DPI scaling, i.e. increasing the text size to 125% on the windows side is leading to a lot of extra white space in the report.

I wanted to see if there's any parameters that can be used in the Standalone Report Designer to enable DPI scaling.

Thank you.

Momchil
Telerik team
 answered on 18 Oct 2023
1 answer
83 views

Hi, I have stored procedure which is splitted on 2 parts.

CREATE PROCEDURE dbo.MyProcedure
@ReportPart smallint
AS
IF @ReportPart = 0
BEGIN
SELECT ColumnPart0Id, ColumnPart0Name, ColumnPart0Code
FROM Table
END
ELSE IF @ReportPart = 1
BEGIN
SELECT ColumnPart1Address, ColumnPart1PostCode, ColumnPart1Contractor
FROM Table
END


When I execute procedure in Telerik Report Designer (SQL Data Source) with

EXEC dbo.MyProcedure
@ReportPart = 0

everything is ok, but after execute query

EXEC dbo.MyProcedure
@ReportPart = 1

I have error "Can't setup column 'ColumnPart0Name'. This value violates limit MaxLength of this column".

It's weird because in @ReportPart = 1 there isn't any column name like ColumnPart0Name, it exists in first "IF" .

Is it bug?

Query works fine in SSMS.

 

Wojciech
Top achievements
Rank 1
Iron
 answered on 18 Oct 2023
Top users last month
Abhishek
Top achievements
Rank 1
Iron
Johan
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 3
Iron
Iron
Iron
Stephan
Top achievements
Rank 2
Iron
Iron
Veteran
Omar
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?