Telerik Forums
Reporting Forum
2 answers
82 views
I have a web project in Asp.NetCore and reports in telerik already created, what I need is to be able to have an option in my web view which only has a button which calls the report and which is downloaded in PDF format automatically without having a view prior to the report Is there any option on how to do it?
Mayking
Top achievements
Rank 1
Iron
 answered on 14 Nov 2023
2 answers
97 views

Hi Everyone,

I've recently upgrade telerik reporting to the last version. I'm currently using the report viewer in a .net core application on linux. Since the last version the print option and the pdf export doesn't work anymore.

On the front end i'm getting

telerik reporting The header contains invalid values at index 0: '<null>'

and on the server server side I'm getting an exception with 

telerik.Reporting.Pdf.Fonts.TrueType.FontDataProvider

I've set the appsettings to use the GDI and still have the system.drawing.common set at 6.0 for now. I never had any issues prior to this update with the same settings. Anyone had this issue before? All other export works perfectly fine, only the pdf and print options have issues.

Thank you very much,

Guillaume

Todor
Telerik team
 answered on 14 Nov 2023
1 answer
36 views

Hi all,

I have the following case with Telerik Reporting. I have a list which is fed with some data. The number of items may vary from 0 to practically unlimited. I want to show up to 3 records on a line. New records should go on a new line in the report.  I used this article as a reference but I still cannot solve it elegantly as the number of elements may be different each time -> https://docs.telerik.com/reporting/knowledge-base/how-to-create-multi-column-report---across-the-page-and-then-down

I'm sending a sample report as a reference. Does anyone have ideas on how to handle this? Some of the problems I encounter are:

  • some times some of the values are not rendered
  • sometimes there are blank boxes
  • I want the number or rows to grow dynamically based on the number of elements I want to visualize in the list

Regards,
Krasi

Dimitar
Telerik team
 answered on 10 Nov 2023
1 answer
26 views

Hello All!  I am having some difficulties debugging an issue with the ReportViewer not showing the rendered Report.  The Output states that the report was rendered in X seconds.  My report xaml is as follows:

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:tr="http://schemas.telerik.com/wpf" x:Class="FRAC_FLOW.TestReport"
    Title="Report Viewer Window">

    <Grid x:Name="LayoutRoot">
        <Grid Margin="20" >
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <tr:ReportViewer Grid.Row="0" x:Name="ReportViewer1"/>
        </Grid>
    </Grid>
</Window>

I am setting the source and parameters in the constructor:

public TestReport()
{
    InitializeComponent();


    Telerik.Reporting.Parameter parm = new Telerik.Reporting.Parameter { Name = "JobId", Value = "7215" };
    Telerik.Reporting.Parameter parm1 = new Telerik.Reporting.Parameter { Name = "Date", Value = DateTime.Now.ToShortDateString() };

    var reportSource = new UriReportSource();
    reportSource.Uri = new Uri("Reports/ReplacementParts.trdp", UriKind.RelativeOrAbsolute).ToString();

    ReportViewer1.ReportSource = reportSource;
    ReportViewer1.ReportSource.Parameters.Add(parm);
    ReportViewer1.ReportSource.Parameters.Add(parm1);
    ReportViewer1.RefreshReport();
}
When I call this code from a button, I just do the Window.Show() method I saw in the examples.  The Window and Viewer seem to popup just fine, however, I am not seeing the report.  I have reviewed the report in the Report Designer, and I don't see anything that would cause it not to open.  In fact, I can Preview the report just fine, and the data looks good.  Any help is highly appreciated, as I've been stuck on this for a day now, and I've never reached out for help on here!  Thanks in advance!
Momchil
Telerik team
 answered on 09 Nov 2023
1 answer
23 views

Hello, 

I have two questions,

  1. I have a crosstab table with one group and data(fields) from data source. Before clicking on the preview I have some parameters I need to fill, and I would like to have an option for sorting my table. For example having a parameter that is a list of fields from my data source (also used in a crosstab table) as an option, when I click on one of the fields and preview, table is sorted by the option I chose. For better understanding, here is an a example - I chose sort by date (cause Fields.Date exists in data source) before generating, click on preview , all my data is going to be sorted by the group from above and then dates. When I want to generate report again, this time I choose to sort by document number (Fields.DocumentNumber exists in my table and data source) and it generates the report having a group from above and then a sorting by Document Number. How can I achieve that ? I am using Telerik reporting R3 2022.
  2. I have two text boxes A and B in two columns next to each other in my crosstab. B is conditioned for visibility by binding. When B is unvisible (because the condition = false) I would like to merge my textbox A with B so I have a larger textbox A. And when B is visible (condition = true), everything is back to normal, meaning A has its text box in A's column like before and B has its own text box in B's column. Would that be possible?

     Thanks in advance! Hope to hear from you soon!

    Best regards,
    Tamara
1 answer
18 views

I'm using 17.0.23.118 version of Telerik report in ASP.net webform. I used Horizontal line(Shape) to separate the rows in DetailArea and PageHeader area.
I want, it should visible in web view but want to hide in exported .xlsx file. Currently its visible in both places.
Please help me out in this.

Momchil
Telerik team
 answered on 09 Nov 2023
1 answer
18 views
We have a report with a vertical banner on the left side. That is, the graphic starts at the top of the header and continues until the bottom of the footer. Is  this possible with Telerik Reports?
Todor
Telerik team
 answered on 08 Nov 2023
1 answer
26 views

I'm trying to create a Report that has a dynamically generated DataTable as its DataSource.

I’ve programmatically placed a DetailSection on the Report, and added a TextBox for each column of the DataTable to the DetailSection.

The TextBoxes are databinding, but I can’t figure out what the proper Expression would be to access the column data for each TextBox.

The ReportItem.DataObject.RawData for each TextBox is a DataRowView.

In the Immediate window in Visual Studio, I can access the column data from within the TextBox DataBinding handler with the following:

((System.Data.DataRowView)(((Telerik.Reporting.Processing.TextBox)sender).DataObject.RawData))["ID"]

 Please tell me what Expression would access the column data. 

Todor
Telerik team
 answered on 08 Nov 2023
1 answer
24 views

1. it possible to create telerik report programmatically in asp.net core?

2. I need to create teleik report programmatically in asp.net core and to display in html5 viewer?

can you any let me know ans.

Todor
Telerik team
 answered on 07 Nov 2023
1 answer
22 views
We facing one issue in telerik report upgrade.

Last time we upgrade our angular version 11 to 15 and also telerik report to 19. After upgrading, telerik report not work in server, but work in our local host. We are using azure. All localhost data are came from azure and also telerik report is installed in azure. 
Dimitar
Telerik team
 answered on 07 Nov 2023
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?