Telerik Forums
Reporting Forum
1 answer
23 views

Hello, I'm using Telerik Reporting R3 2023 to produce reports in PDF format. I use the stand alone report designer to design the report definition and our application uses Telerik Reporting to generate the report. I have a text box with a "Toggle Visibility" Action that works correctly when I preview the report in the stand alone report designer. When I click the "+" button, it toggles the visibility of another text box:

 

However, when I use our application to generate the report to a PDF or HTML5 format, the "+" button isn't there:

 

 

Any help is appreciated

Todor
Telerik team
 answered on 26 Dec 2023
1 answer
70 views

Currently, we use SSRS in our ASP.NET MVC apps to automatically generate tabular, in-memory reports based on RDLC templates against SQL Server data. The PDF produced by SSRS are downloaded to the user's browser. We don't provide any report viewer components on the page. How do you do this using Telerik Reporting?

Also, do you have beginner training videos for Telerik Reporting?

Thank you.

Dimitar
Telerik team
 answered on 26 Dec 2023
1 answer
72 views
How to bind the data in object value in array table group footer in telerik report designer
Momchil
Telerik team
 answered on 21 Dec 2023
0 answers
36 views

Hi All,

I want to pass few additional parameters from the report designer to the report service each and every request.

Following is my current code.

<script type="text/javascript">
        $(document).ready(function () {

            // For a complete overview over all the options used to initialize Web Report Designer, check:
            // https://docs.telerik.com/reporting/designing-reports/report-designer-tools/web-report-designer/web-report-designer-initialization
        $("#webReportDesigner").telerik_WebReportDesigner({
                toolboxArea: {
                    layout: "list" //Change to "grid" to display the contents of the Components area in a flow grid layout.
            },

            blpermision: {
                isJson: 'Nom'
            },

                serviceUrl: "@(basePath)reportdesigner/",
                report: "",
                skipOnboarding: true,

                // Example of passing parameters to the embedded Report Viewer used when previewing documents.
                // The example below demonstrates the currently available options.
                // reportViewerOptions: {
                //    scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
                //    scale: 1.0,
                //    templateUrl: "https://bluelotus360.co/ReportsAPI/api/reportdesginer/resources/templates/telerikReportViewerTemplate.html/",
                //    viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
                //    pageMode: telerikReportViewer.PageModes.CONTINUOUS_SCROLL
                //    // Further explanation about how these options effect the Report Viewer can be found at:
                //    // https://docs.telerik.com/reporting/embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/api-reference/report-viewer-initialization
                // }
        }).data("telerik_WebDesigner");
        
        });
</script>

Is there a way to tap each and every request to designer services .

 

Additionally i cannot over ride certain actions in report designer services. cannot override  SaveResource endpoint. any idea ?

 


  [Route("api/reportdesigner")]
  public class ReportDesignerController : ReportDesignerControllerBase
  {
      public ReportDesignerController(IReportDesignerServiceConfiguration reportDesignerServiceConfiguration, IReportServiceConfiguration reportServiceConfiguration)
          : base(reportDesignerServiceConfiguration, reportServiceConfiguration)
      {
          var m = reportDesignerServiceConfiguration;
       //  m.DefinitionStorage = new FileDefinitionStorage("~/CSR/");


      }


      public override IActionResult CreateDocument(string clientID, string instanceID, [FromBody] CreateDocumentArgs args)
      {
          return base.CreateDocument(clientID, instanceID, args);
      }

      [HttpPost("definitionresources/save")]
  
      public override Task<IActionResult> SaveResource([FromQuery] SaveResourceModel model)
      {
          return base.SaveResource(model);
      }


  }

BL360
Top achievements
Rank 1
 asked on 07 Dec 2023
1 answer
29 views
Is there any possibility to add a custom Angular component as a parameters editor?

Dimitar
Telerik team
 answered on 06 Dec 2023
2 answers
67 views

Hi,

I was trying to integrate a report in my MVC application.

In the console I m getting an error

"GET
http://localhost:55497/api/reports/resources/js/telerikReportViewer
[HTTP/1.1 404 Not Found 4ms]"

 

How can i fix this issue.

index.cshtml

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

 

@using Telerik.Reporting
@using Telerik.ReportViewer.Mvc
@{
    ViewBag.Title = "Home Page";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://kendo.cdn.telerik.com/2020.1.114/styles/kendo.common.min.css" rel="stylesheet" />
<link href="https://kendo.cdn.telerik.com/2020.1.114/styles/kendo.blueopal.min.css" rel="stylesheet" />

@section styles
{
    <style>
        body {
            margin: 5px;
            font-family: Verdana, Arial, sans-serif;
        }

        #reportViewer1 {
            position: absolute;
            left: 5px;
            right: 5px;
            top: 40px;
            bottom: 5px;
            overflow: hidden;
            clear: both;
        }
    </style>
}



<div>
    @(Html.TelerikReporting().ReportViewer()
                    .Id("reportViewer1")
                    .ServiceUrl(Url.Content("~/api/reports/"))
                    .ReportSource("Report1.trdp")
                    .ViewMode(ViewMode.Interactive)
                    .ScaleMode(ScaleMode.Specific)
                    .Scale(1.0)
                    .PersistSession(false)
                    .PrintMode(PrintMode.AutoSelect)
                    .EnableAccessibility(false)
                    .SearchMetadataOnDemand(false)
                    .Deferred()
)
</div>
@section scripts
{
    <script src="@Url.Content("~/api/reports/resources/js/telerikReportViewer")"></script>
    @(Html.TelerikReporting().DeferredScripts())
}

 

I was referring to the code  from here

 



Ihits
Top achievements
Rank 1
Iron
 answered on 06 Dec 2023
0 answers
17 views

Good Afternoon Telerik,

I am trying to narrow my report results on a DateTime value for an entire month of results. due to it being a schedule some of the times will go into the next day (in example: 11:00 PM 11/02 Thursday to 7:00 AM 11/03 Friday) However, when I run the report. It is only showing times for 7:00 AM to 11:00 PM that night. it reversed the entry instead of it going from 11:00 PM first day to 7:00 AM next day. Is there anyway for me to fix this?

Austin
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 05 Dec 2023
1 answer
39 views

Good Morning Telerik Forums,

I have a field called "Report Ran" followed by another table with a field of [= Now()] They display correctly. However, they are two separate fields.

 

If I add them together into one field (example) Report Ran: [=NOW()] it displays exactly like that. Never executing the data display.

 

How can I get it so that I can use a one field with text and a data all within one? so that it can display as Report Ran: 12/03/2023

 

Thank you!

 

 

__________________________

EDIT: I solved this after posting. See solve below.

 

I solved my own question.. I just started playing with close brackets.

 

Use braces { } to encapsulate. In example: Report Ran: {=NOW()} and it will display correctly as Report Ran: 12/03/2023

 

Thank you!

Austin
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 05 Dec 2023
1 answer
62 views

Hello,

I am trying to install Telerik.Reporting.Services.AspNetCore.Trail in .net 6 application.

Below are the following things that i have done,

  1. Go to Tools > NuGet Package Manager > Package Manager Settings, select Package Manager Sources, and then click the + button.

  2. Enter a Name for the Telerik NuGet feed, for example, telerik.com.

  3. In the Source field, enter https://nuget.telerik.com/v3/index.json and click OK.

 Added the Telerik NuGet feed as a Package source.

 Entered Telerik credentials in the Windows Authentication dialog.

Still i am unable to view Telerik.Reporting.Services.AspNetCore.Trail in package manager.

 

Todor
Telerik team
 answered on 05 Dec 2023
1 answer
32 views
Hi Support,

I am creating a Telerik report and in this report, I am using a few sub reports for some parts of this report. In one portion of the reports I need to display multiple items (detail with description) and it should be rendered in two columns. To render the content into 2 columns I used the Column Count property and with this, it works fine if I am running the subreport independently. But if I am using this subreport in the main report then this ColumnCount feature is not working so please let me know how I can render a subreport content into 2 columns.  
Please see the screenshot.  
Sample image is the one we are trying to achieve in output . 
Report design is the one we have designed for our work. When we run it independently it works but when we add it as a sub report to a main report it fails. 
Sample Sub report - the one working when we try it independently. 
Dimitar
Telerik team
 answered on 05 Dec 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?