Telerik Forums
Reporting Forum
1 answer
441 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
230 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
321 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
143 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
482 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
272 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
259 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
1 answer
216 views

Hi:

In blazor I have a list of dtos, I want to assing it to a report similar to the process in wpf. How can i Accomplish it? is posible?

I Try with a custom resolver in the server side, but I have to send the thada from the balzor layer to the custom resolver and im not sure if is a good idea.

Thanks in advance.

Dimitar
Telerik team
 answered on 05 Jul 2023
1 answer
258 views

HI,
I have a problem with Telerik Web Report Designer (17.0.23.515) as explained in the documentation I proceeded to create api service controller and the view to host the application but when I run it I get an error poup with the following message :

Could not retrieve information for folder . Warning, model validation error detected!

The error is related to:

request:
"http://localhost/NTTData/KPI/api/reportdesigner/definitionresources/folder/model?uri="
> payload: uri (is empty)
> status: Bad Request
> remote address: [::1]:80
> Referrer Policy: 'strict-origin-when-cross-origin'

response:
{
     "Message": "Warning, model validation error detected!",
     "Errors": [
         "A value is required but was not present in the request."
     ]
}

Do you have any suggestions/info to solve the problem?

P.S: I've verified that the app can read and write to the report folder.

Thank You

Dimitar
Telerik team
 answered on 05 Jul 2023
1 answer
1.4K+ views

Good afternoon, 

 

I'm trying to generate a barcode with GS and RS characters inside a barcode with no success (those are mandatory for GTL labels in VDA standard).

I've been trying to do Char(29), Chr(29), ChrW(29), (char)29, Convert.ToChar(29), ... but nothing worked me.

 

Best regards

Jorge
Top achievements
Rank 1
Iron
 answered on 05 Jul 2023
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?