Telerik Forums
Reporting Forum
0 answers
65 views

Hello,

i'm using Telerik Reporting 2020, when add TOC section in report show error: Object reference not set to an instance of an object

Fadi
Top achievements
Rank 1
 asked on 03 Dec 2023
1 answer
84 views

So, what we need to know is if we can add our new Telerik  service into a solution that 4 developers access, but we only allow the reporting dev to work on the reports and not have to pay for 4 licenses. Or does it need to be a stand alone project?

Essentially, would the Telerik reports still work if it's in a Project that is also accessed by multiple developers?

5 answers
606 views

Hello,

I understand that currently, Telerik Reporting supports only .NET Framework projects in the Visual Studio Designer due to limitations of .NET Core 3.0 support.  However, I'm wondering, will this be addressed when Microsoft releases .NET 5 later this year?  Will we be able to design Telerik Reports in Visual Studio for .NET 5 projects?

Thanks.

Deepak Gupta

Todor
Telerik team
 updated answer on 30 Nov 2023
1 answer
106 views

Hello, 
I tried to add parameters to change default format from LIST_VIEW to COMBO_BOX but i can't do it.
I added like below but it don't work
version used 16.2.22.914

<tr-viewer 
    #viewer1
    [containerStyle]="viewerContainerStyle"
    [serviceUrl]="address"
    [reportSource]="{
        report: test.trdx,
        parameters: {
         editors: {
             singleSelect: viewer.ParameterEditorTypes.COMBO_BOX,
             multiSelect: viewer.ParameterEditorTypes.COMBO_BOX
         }
     },
    }"
    [viewMode]="'INTERACTIVE'"
    [ready]="ready"
    [scaleMode]="'SPECIFIC'"
    [scale]="1.2">
</tr-viewer>


Dimitar
Telerik team
 answered on 29 Nov 2023
8 answers
533 views

Hi Guys

I have some Telerik Reports and i'm using Telerik Report View on MVC Razor view. I can easly translate my data inside Report but i cannot translate ReportView elements like Report Toolbar 

How can i handle this? Here below my one of report example.

@{
        DateTime today = DateTime.Today;
        DateTime startOfMonth = new DateTime(today.Year, today.Month, 1);
 
 
        DateTime today1 = DateTime.Today;
        DateTime endOfMonth = new DateTime(today1.Year, today1.Month, DateTime.DaysInMonth(today1.Year, today1.Month));
 
        UriReportSource trial = new UriReportSource();
        trial.Uri = "Card Summary Report.trdx";
        trial.Parameters.Add("DateFdy", startOfMonth);
        trial.Parameters.Add("DateEnd", endOfMonth);
        trial.Parameters.Add("Culture", (string)ViewData["lang"]);
    }
    @(Html.TelerikReporting().ReportViewer()
        .Id("reportViewer1")
 
        .ServiceUrl("/api/reports/")
        .ReportSource(trial)
        .ViewMode(ViewModes.INTERACTIVE)
        .ScaleMode(ScaleModes.SPECIFIC)
        .Scale(1.0)
        .PersistSession(false)
)
Dimitar
Telerik team
 answered on 29 Nov 2023
1 answer
1.3K+ views

Hello, 

using Telerik.Reporting.17.2.23.1114.nupkg in .Net 8 project leads to warning:

Microsoft.NET.Sdk.targets(284, 5): [NETSDK1206] Found version-specific or distribution-specific runtime identifier(s): alpine-x64. Affected libraries: SQLitePCLRaw.lib.e_sqlite3. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.

Why it happens is described in MS web site.

I found that Reporting nuget is using old/problematic dependency

<dependency id="SQLitePCLRaw.bundle_green" version="2.0.4" />

If you upgrade this to version 2.1.6, it fixes this problem. See release notes: https://github.com/ericsink/SQLitePCL.raw/releases/tag/v2.1.6

Todor
Telerik team
 answered on 22 Nov 2023
4 answers
966 views
Hi,

I am trying to pass the Data from C# to Telerik Report. Initially i created a Web Project and I added Telerik Report to the Project. I followed a tutorial to create a Report and assign a Dataset to the Report. Here i will be designing a Report. I need to assign a Data To Report through a Datatable, which need to be populated in Report where we need to Map The Columns. On Page Load i am Trying to do this,

In My Page Load i written by Code as

   Report2 objReport2 = new Report2();
                objReport2.DataSource = GetAllData();
                ReportViewer1.ReportSource = objReport2;
                ReportViewer1.DataBind();
                ReportViewer1.RefreshReport();

From the above code, i am seeing the blank Report wihtout Data.
In Desinger i created a table, But i failed to create  a Mapping between Report And Dataset Column? May i know how do i do this? Or else can any one suggest me a scenario to resolve this?   
Please find the Sample Project Link http://www.mediafire.com/?9hd3apr88j6m17x
Frederic
Top achievements
Rank 1
Iron
 answered on 21 Nov 2023
1 answer
161 views

I have 2 graphs with DateTime scales. But when the data is populated the graphs are misaligned slightly to right as below image, this is because graph1 has a y-axis labeled as 01-June and graph 2 has  31-May. Looks like because of the character's size 'Jun' and 'May', the graph representing May is slightly moved to the right. How do I adjust the spacing/padding between label and axis line ? I' using the telrik v17.1.23.

 

 

Todor
Telerik team
 answered on 21 Nov 2023
2 answers
160 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
385 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
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?