Telerik Forums
Reporting Forum
2 answers
293 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
129 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
248 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.7K+ 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
440 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
161 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
384 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
4 answers
99 views

Telerik,

The Standalone Report Designer has a very dated UI.  WPF provides so many more capabilities and when you use the Telerik WPF controls, so many possibilities exist.

Issues.

1. Please put the tool windows in a Docking system, like Teleriks.  Forcing the property window to be pinned to the right side is a UI/UX issue. Studies have shown that placing it on the left, makes it easy to use since the object your assign property value is very close and the distance the mouse must be moved it greatly shortened.

2. Make the tool window fonts re-sizable.  In the modern age of 4K computer monitors, the very date UI and small fonts make the designer difficult to use.

3. Enable the designer to create assemblies instead of just loose report files. The assembly files can be loose and then compiled as a separate tasks, i.e. shell out and run the appropriate "dotnet" build command to build the assembly.  This would enable .NET Core developers  form loosing out on many features of the reporting product by being forced to use the standalone designer.  For example, Report events.

Thank you,

Karl

Peter
Telerik team
 answered on 30 Sep 2019
1 answer
698 views

Hi,

I am trying to export programmatically to docx and xlsx  using Report Processor but get the error rendering format is not available error message.

https://www.telerik.com/support/kb/reporting/export-reports/details/missing-docx-xlsx-pptx-xps-export-options

Referred the article above but still got  the error

I am using Telerik.Reporting 12.1.18.620 ,Telerik.Reporting.OpenXmlRendering  12.1.18.620 and Document.OpenXML 2.0.5022.0

Please  provide me a sample project with the reference dlls rendering in word and xlsx.

Thanks

Silviya
Telerik team
 answered on 30 Sep 2019
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?