Telerik Forums
Reporting Forum
1 answer
146 views

Hello.

About the report's demo Solution (CSharp.ReportExamples.VS2022), what's the difference btw BlazorNativeIntegrationDemo and BlazorIntegrationDemo?

 

I use a blazor web assembly application with API as backend.

Thank you.

Louis
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 17 Jul 2023
0 answers
119 views

Hi, when i try to paste

{Format('{0}',12.34)}

to htmlTextBox and apply it changes Value to empty.

Is it bug?

When I switch to html view it disappears also.

Wojciech
Top achievements
Rank 1
Iron
 asked on 17 Jul 2023
2 answers
351 views
Hi All,

I am trying to Show Detail of a multiple Orders by, passing their order number . I have to manually select the  order number to display their details(which is coming from by passing ordernumber in store procedure).

I want to pass parameter dynamically in report parameter.

Please suggest!


Thanks in advance
Jayesh
Dimitar
Telerik team
 answered on 13 Jul 2023
1 answer
479 views

I installed the Telerik Reporting tool. Created a new project one in Winforms and another as asp.net. Created a new class library,

When I tried to add a Teleri report I get this error message. I tried different projects and different reports and reinstalled the software.
What's wrong here? This is an absolute blocker and I basically can't do anything. It creates a .cs files with references to Telerik.Reporting; and Telerik.Reporting.Drawing yet there are no dependencies to Telerik showing up in the project.
I am running VS 2022 17.6.4 as admin.

Also, why are there no Nuget packages on nuget.org. I can't even add it manually.

 

---------------------------
Microsoft Visual Studio
---------------------------
The reference "Telerik.Reporting, Version=17.1.23.606, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" could not be added to the project. This wizard will continue to run, but the resulting project may not build properly.
---------------------------
OK   
---------------------------



 

Momchil
Telerik team
 answered on 12 Jul 2023
0 answers
277 views

We have a bunch of Multi-Column reports (labels), that our customers are asking us to Page Break based on certian criteria in the data set.  We are doing that, but what our customer is asking, that the page break is a true page break, in that the page break starts physically on a new page, not in a new column.   Is there a way to set this up.  I have been looking at different settings to do this, but I just can seem to achieve this desired behavior.   

 

Yes, our customers understand that this will increase the WASTE of labels, but this is what they are asking for.

 

TIA.

 

Mark
Top achievements
Rank 2
Bronze
Bronze
Veteran
 asked on 11 Jul 2023
1 answer
349 views

Hello,

How do we change the datasource of Telerik reporting dynamically using Business Object ?

I'm playing with Sample CSharp.Net6.HtmlIntegration from R1 2023 Telerik Reporting 

Here's my code :

(Reporting.cshtml)

@{
    string report = ViewBag.Report + ".trdp";
}
    
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Telerik HTML5 Report Viewer Demo</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

    <link href="https://kendo.cdn.telerik.com/2022.3.913/styles/kendo.common.min.css" rel="stylesheet" id="common-css" />
    <link href="https://kendo.cdn.telerik.com/2022.3.913/styles/kendo.blueopal.min.css" rel="stylesheet" id="skin-css" />

    <script src="/Scripts/themeSwitcher.js"></script>

    <script src="/api/reports/resources/js/telerikReportViewer"></script>

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

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

        #theme-switcher {
            float: right;
            width: 12em;
            height: 30px;
        }
    </style>
</head>
<body>
    <select id="theme-switcher"></select>

    <div id="reportViewer1">
        loading...
    </div>

    <script type="text/javascript">

        $(document).ready(function () {
            //Theme switcher
            themeSwitcher(
                '#theme-switcher',
                '#common-css',
                '#skin-css');

            $("#reportViewer1")
                .telerik_ReportViewer({
                    serviceUrl: "api/reports/",
                    reportSource: {
                        report: "@report",
                    },

                    viewMode: telerikReportViewer.ViewModes.INTERACTIVE,

                    scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,

                    scale: 1.0,

                    enableAccessibility: false,

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

</body>
</html>

 

(ReportingController.cs)


using Microsoft.AspNetCore.Mvc;

namespace CSharp.Net6.Html5IntegrationDemo.Controllers
{
    public class ReportingController : Controller
    {
        [Route("reporting")]
        public IActionResult Index(string report)
        {

            ViewBag.Report = report;
            return View("Reporting");
        }
    }
}

 

Nikolay
Telerik team
 answered on 10 Jul 2023
1 answer
159 views
Is there a way to set the colors for a pie chart without having to set the conditional formatting values for both the series and the legend? It would be nice to be able to just set it once.
Momchil
Telerik team
 answered on 10 Jul 2023
1 answer
548 views

I would like to bold one of the If Then Statements, when i convert my text box to an html text box i get an error.  Here is my code.

 

= 'Each of the undersigned (herein referred to individually and collectively as “Owner”) hereby guarantees, represents and warrants to ENTERPRISE Crude Oil, LLC (“ECO”), its successors and assigns, that each Owner is the legal owner of the Owner’s respective interest, in the proportions hereinafter stated, in all Oil (as defined herein) produced and saved from the ' + If(Count(Fields.[Property #]) > 1, "See Exhibit A", Fields.[Property Name])+  ' located in the County of ' + If(Count(Fields.[Owner Name]) > 1, "See Exhibit A", Fields.[County Name] + ', State of ' + Fields.CityState) + ', described as follows (the “Lands”):'

Momchil
Telerik team
 answered on 10 Jul 2023
2 answers
311 views

After upgrading Telerik Reports from version 14.2.20.1021 to 17.0.23.118 we experience Visual Studio crashes when opening the "Expression..." 

editor after the first time.

 

Steps to reproduce:

* Open the report.

* Open the "Expression....". Loads correctly (as above)

* Close the report

* Reopen the same report

* Open the "Expression....". Visual Studio Crashes while showing the editor and shows the following:

Event Viewer shows the following:

OS and Visual Studio Versions

Microsoft Visual Studio Professional 2019 Version 16.11.27

OS : Windows 11 

 

Please advice on how to proceed.

Thanks in advance.

ChrisM
Top achievements
Rank 1
Iron
Iron
 answered on 07 Jul 2023
1 answer
289 views

I want to pass parameters tho the report using  Blazor native viewer. I found some samples with HTML viewer but the code doesn't work for the native viewer. Do you have a sample of how to implement it?

I try implementing a custom resolver but until now it is not working.

Dimitar
Telerik team
 answered on 05 Jul 2023
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?