Telerik Forums
Reporting Forum
1 answer
36 views

Hi Team,

I've dabbled with this a little bit, but I've got a parameter in a report that's set to take an array of images. I've inserted a list and set the datasource to the value of the parameter.


The value of this parameter will be something like:

[ "www.images.com/cat.jpg", "www.images.com/dog.jpg", "www.images.com/goldfish.jpg"]

How can I use this structure to assign these values to a Picture Box? I know ReportItem.DataObject exists, but I'm never quite sure how to use it, or if that's even the right approach. Guidance is much appreciated!

Thanks,
J.T.

Dimitar
Telerik team
 answered on 09 Jan 2024
1 answer
33 views
We have a lot of reports saved in the plain text .trdx files and in a lot of cases prefer to use this format. I've seen .trdx refereed to as the "legacy" format over .trdp but was wondering if it's safe to continue using .trdx for the foreseeable future. 
Dimitar
Telerik team
 answered on 08 Jan 2024
1 answer
20 views

Hello,

I am having an issue with creating a new style sheet in the web report designer. I would like to use a "StyleSelector" selector type, but when adding a new selector to the style rule, it defaults to "TypeSelector". How do I change this to be a "StyleSelector"?

Thanks,

Dan

Momchil
Telerik team
 answered on 02 Jan 2024
2 answers
68 views

Hello.

I need you help please. I make report by Telerik Report Designer. i can make report is normal table but i need merge cell multiple column follow "Case_Problem.png". i need result follow "Nedd_Result.png".

I have Report.trdx in Report.zip, inside report have mock data source.

Siriwat
Top achievements
Rank 1
Iron
 answered on 27 Dec 2023
1 answer
16 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
37 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
53 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
30 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
24 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
50 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
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?