Telerik Forums
Reporting Forum
1 answer
256 views

I see that a feature was added in R3 2020 to support the styling of nested lists, https://feedback.telerik.com/reporting/1356704-ordered-list-styling

How would I implement this? I have letters that load dynamic HTML content like this:

<ol>
<li>Item one. </li>
<li>Item two.<ol>
<li>Item two a. <ol>
<li>Item two i.</li>
</ol>
</li>
</ol>
</li>
<li>Item 3.</li>
</ol>

I'd need it to render like this in the body of the letter:

1. Item one.
2. Item two.
    a. Item two a.
         i. Item tow i.
3. Item 3.

I'm adding an external style sheet when the letter is generated. 

ExternalStyleSheet(System.IO.File.OpenRead($"Reports\\ReportingStyleSheet.xml"));

I'm not sure how to add these styles.

ol li ol {
    list-style-type: lower-alpha;
}
ol li ol li ol{
    list-style-type: lower-roman;
}

ul li ul {
    list-style-type: circle;
}
ul li ul li ul {
    list-style-type: square;
}

 

Thanks.

Tim Paris

 

 

 

Dimitar
Telerik team
 answered on 10 Aug 2022
0 answers
419 views

Hi, supports.

I try to run rest api report server on mac OS which  used in windows10.

But I got a error message

Error Message : 

Unable to get report parameters. An error has occurred. Type: Telerik.Reporting.ReportSerialization.Current.ReportSerializable`1[Telerik.Reporting.Report]

 

Device:  mac OS m1

[Step]

1. Check result of api/reports/forms:

result:

[{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLSX","localizedName":"Excel Worksheet"},{"name":"PPTX","localizedName":"PowerPoint Presentation"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"DOCX","localizedName":"Word Document"}]

 

2. Installed the libgdiplus library. 

brew install mono-libgdiplus

result: mono-libgdiplus 6.1_1 is already installed and up-to-date.

 

When I got a message for this, I thought project occurs error. But it runs well which on windows10.

I think, I missing setup for report server on mac OS.

So, I want how I set the project to run successfully.

And, If you have sample project about rest report server which runs on macOS m1, may I get that to refer? 

 

Due to this one thing, the entire project is being delayed. Please help me.

WoorimartDEV
Top achievements
Rank 1
Iron
Iron
 asked on 08 Aug 2022
3 answers
1.0K+ views

Hi,

 

You have added the new feature in PDF Security in latest version on Telerik reporting  R3 2016.

But do not have details regarding that how to set password?

Could please send the detail how to set the password in manual rendering pdf in code. 

 

Thanks,

Senthil

Rener Lemes
Top achievements
Rank 1
Iron
 answered on 06 Aug 2022
1 answer
155 views

Hi,

I noticed on the Roadmap that the following feature is under development. 

Angular & React components based on the Web Report Designer

Is there the ability to download a nightly build?  i.e. Not production suitable but would like to use it as a proof of concept. 

Alternatively is there an ETA of when this feature lands?

Thanks

Milen | Product Manager @DX
Telerik team
 answered on 05 Aug 2022
1 answer
209 views

I have a report that needs to access files stored on Azure.

What's the best way to do this?

THanks ... Ed

 

Dimitar
Telerik team
 answered on 05 Aug 2022
1 answer
131 views

Hello,

I need generate a report where the Table of content is on the second page of it, after a "front" page.

Please advise.

Thank you.

Domenico
Top achievements
Rank 1
Iron
 answered on 04 Aug 2022
1 answer
140 views

[Html5Viewer]

[PrintButton in Html5Viewer]

[Print Preview - when clicked the print button]

[Report.cshtml]

@{
    ViewData["Title"] = "Label";
}
<style>
    #reportViewerLayout {
        position: absolute;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        overflow: hidden;
        font-family: Verdana, Arial;
    }
</style>
<script type="text/javascript">
    $(document).ready(function () {
        $("#reportViewerLayout")
            .telerik_ReportViewer({
                // The URL of the service which will serve reports.
                // The URL corresponds to the name of the controller class (ReportsController).
                // For more information on how to configure the service please check http://www.telerik.com/help/reporting/telerik-reporting-rest-conception.html.
                serviceUrl: "/api/reports",

                // The URL for custom report viewer template. The template can be edited -
                // new functionalities can be added and unneeded ones can be removed.
                // For more information please check http://www.telerik.com/help/reporting/html5-report-viewer-templates.html.
                // templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate-16.1.22.511.html',

                //ReportSource - report description
                reportSource: {
                    // The report can be set to a report file name (trdx report definition)
                    // or CLR type name (report class definition).
                    report: '@Html.Raw(ViewBag.PopReportFile)',
                    parameters: {
                         ...params...
                    }
                },
                // Specifies whether the viewer is in interactive or print preview mode.
                // PRINT_PREVIEW - Displays the paginated report as if it is printed on paper. Interactivity is not enabled.
                // INTERACTIVE - Displays the report in its original width and height without paging. Additionally interactivity is enabled.
                viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW,

                // Sets the scale mode of the viewer.
                // Three modes exist currently:
                // FIT_PAGE - The whole report will fit on the page (will zoom in or out), regardless of its width and height.
                // FIT_PAGE_WIDTH - The report will be zoomed in or out so that the width of the screen and the width of the report match.
                // SPECIFIC - Uses the scale to zoom in and out the report.
                scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,

                // Zoom in and out the report using the scale
                // 1.0 is equal to 100%, i.e. the original size of the report
                scale: 1.0,
                enableAccessibility: false,

                //If set to true shows the Send Mail Message toolbar button
                sendEmail: { enabled: false },
            });
    });
</script>

------------------------------------------------------------------------------------------------------------------------------------------------------

Hi, I have a question.

I want to show like PrintPreview screen, not like Html5Viewer screen.

The location, size, and font of each character are provided through the Report Parameter and are linked by DataBinding.

And, the words or number(like '400'), all of the same components are imageview, and the expression dialog states:

All of the same components are imageview, and the expression dialog states:

<svg>
<g>
<text font-size="25">
<tspan x="0%" y="20%" textLength="60%">TEST</tspan>		
</text>
</g>
</svg>

I change the viewMode to [viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW], or 

    var rv = $("#reportViewerLayout").data("telerik_ReportViewer");
    rv.commands.print.exec();

But nothing has changed in particularly.

How I can show the report screen like [Print Preview]?

Todor
Telerik team
 answered on 04 Aug 2022
0 answers
1.0K+ views

Hello.
Windows uses it as a Report RestApiServer
I changed my work environment to MacOS.
So when I tried to use it, I got the following message.

Unable to get report parameters. An error has occurred. Type: Telerik.Reporting.ReportSerialization.Current.ReportSerializable`1[Telerik.Reporting.Report]

As a result of testing with api/reports/forms,
The output is as follows:

[{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLSX","localizedName":"Excel Worksheet"},{"name":"PPTX","localizedName":"PowerPoint Presentation"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"DOCX","localizedName":"Word Document"}]

 

https://docs.telerik.com/reporting/getting-started/installation/dot-net-core-support

Referring to the Deployment on macOS part of the above site, I installed it, but there was a problem during the installation process, or the part that worked in Windows is not currently working. I want you to tell me the solution.

WoorimartDEV
Top achievements
Rank 1
Iron
Iron
 asked on 04 Aug 2022
1 answer
523 views
Nuking my question, because I realized I needed to deep dive into grouping to understand how to implement.
Dimitar
Telerik team
 answered on 01 Aug 2022
1 answer
456 views

Hi, I am looking for documentation about how to log errors that occur within a report.

I'm working on an AspNet MVC implementation of Telerik.Reporting.Services.WebApi.ReportsControllerBase with a custom ReportSourceResolver. Reports are viewed with the Html.TelerikReporting().ReportViewer() htmlhelper.

All works well but I want to log error that can occur within the report itself. Is there any documentation for this or can you hint a direction?

Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Jul 2022
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?