Telerik Forums
Reporting Forum
1 answer
118 views

I add border to graph's data point style but it doesn't work. Background color and other is fine but this is not. How to fix?

 

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 07 Oct 2019
1 answer
249 views
How can I add zebra stripes (alias green bar stripes) to pdf reports generated by Telerik Reporting?
Todor
Telerik team
 answered on 07 Oct 2019
2 answers
286 views

Hi,

I'm using the Standalone report designer and have exported my stylesheet.xml.

I read https://docs.telerik.com/reporting/style-exportingand-reusing-style-sheets?_ga=2.155451643.1765117186.1569843212-799383587.1565369057

When I create my next report using the standalone designer, I can't figure out where to locate the stylesheet.xml.

My Directory Structures

c:\repos\Reporting\Reports\ - all my reports are here

c:\repos\Reporting\Reports\StyleSheets\    - I've tried copying my stylesheet.xml here, no luck.

c:\ReportDesigner\ - I have the Telerik.ReportDesigner.exe and other files here.

What do I have to do so that the stylesheet.xml is automatcaily added to new reports I create?

Why don't you have an "import" feature to import stylesheets?

Do the external stylesheets have to be available at runtime?

 

So I really have two quesitons:

Designtime location?

Runtime location?

Thank you,

Karl

 

 

 

Karl
Top achievements
Rank 1
 answered on 07 Oct 2019
2 answers
125 views

Hi,

With Two Instances Open, you can't open style dialog in both instances.

These are two instances of a WPF app, they should both be able to open the same dialog in each instance.

WPF is perfectly capable of opening dialogs in instances of the same app.

Please have your developers correct this.  Each running application should not share anything between each others.

Thank you,

Karl

Karl
Top achievements
Rank 1
 answered on 07 Oct 2019
1 answer
244 views

Hi,

I have a table with a date type column.

Hello, I have a table with a date type column. I am trying to sort it ascendingly, the types of numeric data and Strings work correctly but the date types do not recognize them.

How can I do it?

 

Thank you.

Neli
Telerik team
 answered on 04 Oct 2019
7 answers
1.6K+ views

Hi,

I'm new to Telerik reporting and using the Standalone Designer.

My report is driven by data that contains name, address and a collection of fund data.

I have a table with this data:  Fund Name, Date, Amount

I need to display the data grouped by Fund Name, and show summary row for each Fund Name, and a Grand Total for all funds.

Parking Lot Fund

1/1/2019                   $50.00

1/2/2019                   $50.00

                       Total $100.00

Building Fund
1/1/2019                   $50.00
1/2/2019                   $50.00
                      Total  $100.00

            Grand Total  $200.00

I have a table control in my detail section, have spent a few hours trying to do the above.  

How can I add the grouping and summary for my table.

Thank you!!!

 

Karl

 

Neli
Telerik team
 answered on 04 Oct 2019
8 answers
1.7K+ views

There seems to be a recent change in how printing from the report viewer works. The used to open the print dialog and you could print from there. Now when you click print on the report viewer the browser prompts you to save as pdf.

I've noticed this is happening on Telerik's demo page. 

Is it a browser setting? Is anyone else having this issue?

Thanks.

 

 

Nasko
Telerik team
 answered on 03 Oct 2019
6 answers
435 views

Hello Team,

I got recently issue in printing the template using telerik-angular-report-viewer in Angular 8. It used to work untill day before yesterday suddenly it stopped working. Did any modules got changed to print the template?

I'm using below code for print button:

"<tr-viewer #viewer1 
    [containerStyle]="viewerContainerStyle"
    [serviceUrl]="ReportUrl"
    [templateUrl]="'node_modules/@progress/telerik-angular-report-viewer/dist/dependencies/telerikReportViewerTemplate-sass.html'"
    [reportSource]="Viewdata"
    [scaleMode]="'SPECIFIC'"
    [scale] = "1.0"
    [renderingEnd]="boundReportRendered"
    [error]="ReportError"
    [viewMode]="'PRINT_PREVIEW'">
    </tr-viewer>
    <button id='btnprint' style="display:none;" name='btnprint' (click)="viewer1.commands.print.exec()">Print</button>"

Can you  please get back on the issue im facing!?

 

Thanks in Advance.

Thanks,

Srija P.

Todor
Telerik team
 answered on 02 Oct 2019
1 answer
157 views

I am working .net core rest api backend and angular front end.

I am trying to make a ReportBook adding reports to programmatically.

Front End TypeScript

reportReady() {
  const reportSource = this.viewer.getReportSource();
  reportSource.report =  1 + '_' + this.id;
  const params = reportSource.parameters;
  params.summaryId = this.id;
  params.baseurl = Config.getServerUrl();
  params.OriginalOrDuplicateParam = '';
  reportSource.parameters = params;
  this.viewer.setReportSource(reportSource);
}

 

Backend i have reports controller with Custom Report Resolver 

private InstanceReportSource InvoiceSummaryReportBook(string reportId)
            {
                try
                {
                    InstanceReportSource result = new InstanceReportSource();
                    using (var db = new FilteredHahnDbContext())
                    {
                        var summaryId = reportId.Split("_").LastOrDefault();
 
 
                        var summaryIdGuid = Guid.Parse(summaryId);
                        var summaryDetails = db.InvoiceSummaryDetails.Include(x => x.Invoice)
                            .Where(x => x.InvoiceSummaryMasterId == summaryIdGuid).ToList();
 
                        // Creating a new report book
                        var reportBook = new ReportBook();
                        var typeReportSource = new Telerik.Reporting.TypeReportSource();
                        typeReportSource.TypeName = typeof(ReportBook).AssemblyQualifiedName;
 
                        //Add first report
                        var glossaryReportSource = new UriReportSource();
                        glossaryReportSource.Uri = this.MapPath("InvoiceSummaryReport.trdp");
                        reportBook.ReportSources.Add(glossaryReportSource);
 
 
                        var params1 = new ParameterCollection();
 
                        var index = 0;
                        foreach (var summaryDetail in summaryDetails)
                        {
                            if (summaryDetail.Invoice.InvoiceTypeId == EInvoiceType.Individual)
                            {
                                var glossaryReportSource2 = new UriReportSource();
                                glossaryReportSource2.Parameters.Add("invoiceId", summaryDetail.InvoiceId.ToString());
                                result.Parameters.Add($"reports({index}).invoiceId", summaryDetail.InvoiceId.ToString());
                                typeReportSource.Parameters.Add($"reports({index}).invoiceId", summaryDetail.InvoiceId.ToString());
 
                                glossaryReportSource2.Uri = this.MapPath("IndividualInvoice.trdp");
                                reportBook.ReportSources.Add(glossaryReportSource2);
                            }
                            else
                            {
                                var glossaryReportSource2 = new UriReportSource();
                                glossaryReportSource2.Parameters.Add("invoiceId", summaryDetail.InvoiceId.ToString());
                                result.Parameters.Add($"reports({index}).invoiceId", summaryDetail.InvoiceId.ToString());
                                typeReportSource.Parameters.Add($"reports({index}).invoiceId", summaryDetail.InvoiceId.ToString());
 
                                glossaryReportSource2.Uri = this.MapPath("OrderInvoice.trdp");
 
                                reportBook.ReportSources.Add(glossaryReportSource2);
                            }
 
                            index++;
                        }
 
                        reportBook.TocReportSource = typeReportSource;
                        //Return the new instance
                        result.ReportDocument = reportBook;
 
                        return result;
 
                    }
                }
                catch (Exception ex)
                {
                    throw;
                }
            }

 

Above Method used in

public ReportSource Resolve(string reportId)
{
    InstanceReportSource result = null;
 
    var rprtId = reportId.Split("_").FirstOrDefault();
 
    switch (rprtId)
    {
        // 1 Invoice Summary ReportBook
        case "1":
            result = InvoiceSummaryReportBook(reportId);
            break;
    }
 
    return result;
}

 

For each report "invoiceId" is different. As you can see in code i am trying three different methods to pass parameters but none are taking effect.

Nauman
Top achievements
Rank 2
 answered on 01 Oct 2019
1 answer
368 views

Is there any option to change Reporting Designer theme to dark?

I can't work on default white theme...

Todor
Telerik team
 answered on 01 Oct 2019
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?