Telerik Forums
Reporting Forum
0 answers
218 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
298 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
138 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
435 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
255 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
231 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
210 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
237 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.2K+ 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
0 answers
150 views

Hello,

I am getting the following error when trying to print a report from my website:

But when in my local machine, it displays correctly. The database is the same, no changes between then.

Regards,

Alexandre

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 04 Jul 2023
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?