Telerik Forums
Reporting Forum
3 answers
253 views

Web service data source is not working properly in release(R3-2019).

I'm using Web service data source with OData to show some information about sales invoices. I need to show not all of columns of a table, but some of the columns. That's why I'm using $select operator at the end of the odata query(See second attached picture). So, I'm not able to use $select or even $expand operators in new release(R3-2019), because it shows an error(404). $select, $expand were working before(R2-2019), but in new release it is not.

Can some one help me on this case?

Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 26 Sep 2019
13 answers
1.1K+ views

I am updating an ASP.Net WebForms application which uses the now obsolete WebForms ReportViewer.  I am converting this to use the HTML5 WebForms viewer instead.  We use ReportBooks in our application to display a collection of reports as one.  In your documentation article: "How to Display a ReportBook in Viewer", it states:  "Created ReportBook can be passed to the report viewer's report source as TypeReportSource."  But the viewer only takes: Telerik.ReportViewer.Html5.WebForms.ReportSource so how am I to pass the ReportBook to the viewer?

Thanks,

Lisa

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 25 Sep 2019
6 answers
1,000 views
Does Telerik Report Designer support .NET Core (2.1). Does it have dependency on .NET framework (or) .NET Standard?
Karl
Top achievements
Rank 1
 answered on 25 Sep 2019
7 answers
944 views
Hi there,

After having some issues figuring out how to get multiple reports in a single document, I finally stumbled onto the ReportBook class. 

I have implemented a number of different single page report documents and have, up until now, had no trouble adding them to the book and getting them to display. The issue that I've come across is that I have one derivation of the report that requires three separate instances of a single page, so

public class MultiSheetReport_Group1 : Telerik.Reporting.ReportBook
{
    public MultiSheetReport()
    {
        this.Reports.Add(new CoverPages.GroupOneCoverPage());
        this.Reports.Add(new ItemizedPages.GroupOneItems());
    }
}

now, I have an Group that requires a monthly breakout of the itemized page, so there is a GroupFourItems report that takes in both the id to read as well as the month value that I would like to print that report for.  The issue that I am having is that for each instance of the Monthly Report, the same value is being sent to the ObjectDataSource constructor for the month value.

I've attempted to create another constructor for the MultiSheetReport() like so:

public MultSheetReport(int parentId)
{
    var monthTriplet = DateTimeHelper.GetMonthOrdinals(parentId);
    // monthTriplet is a Tuple of int, int, int
    var cvrPage = new CoverPages.GroupOneCoverPage();
    cvrPage.ReportParameters.Clear();
    cvrPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId));
    this.Reports.Add(new CoverPages.GroupOneCoverPage());
    
    var m1ItemPage = new ItemizedPage.GroupOneItems();
    m1ItemPage.ReportParameters.Clear();
    m1ItemPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId));
    m1ItemPage.ReportParameters.Add(new ReportParameter("month", ReportParameterType.Integer, monthTriplet.Item1));
    this.Reports.Add(m1ItemPage);
 
    var m2ItemPage = new ItemizedPage.GroupOneItems();
    m2ItemPage.ReportParameters.Clear();
    m2ItemPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId));
    m2ItemPage.ReportParameters.Add(new ReportParameter("month", ReportParameterType.Integer, monthTriplet.Item2));
    this.Reports.Add(m2ItemPage);
}

 and so on...
The first problem is that the parameterized constructor for the reportbook is never called as the report, only the default constructor.  This leads to the second issue which is that when I put a breakpoint on the constructor for the ObjectDataSource that backs the ItemizedPage.GroupOneItems report class, the exact same value is passed in for each of the months.  I'm not entirely sure how to fix this.  

Any thoughts?

Thanks.

Todor
Telerik team
 answered on 25 Sep 2019
4 answers
625 views

Hi,

Is there a way to dynamically set the chart height based on the number of data rows? The chart looks fine when there are about 10-12 rows of data, but anything more and it starts to squish to meet the height requirements of the chart. I'm assuming there is a way and I'm just missing it!

I'm using the standalone Telerik Report Designer FYI. I've attached photos for an example.

Neli
Telerik team
 answered on 25 Sep 2019
1 answer
117 views

Hi, I have a report act as a header template as follows:

var template = new TemplateReport{ Header = "Some header"};

where updating the custom properties will also update the textbox value.

When I want to use the template, I will just create the template, and do the such things:

var template = new TemplateReport{ Header = "Some header"};

var content = new ContentReport();

template.Content = content;

 

How can I do such things with report book? Thanks!

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 24 Sep 2019
2 answers
322 views

We have a legacy web application leveraging "Telerik Reporting Q1 2015 SP1 (version 9.0.15.324)" and would like to bring it up to date with the current version "Progress® Telerik® Reporting R2 2019 SP1 (13.1.19.618)".

I have not been able to find anything to indicate what, if any, breaking changes were introduced in more recent versions or any other pitfalls we may face thus it is difficult to plan the effort or weigh the value.

Does anyone know if the newest version is backward compatible with version 9.0.15.324?

Thanks in advance,

Matt

Telerik Reporting Version History: https://www.telerik.com/support/whats-new/reporting/release-history

Missing User
 answered on 23 Sep 2019
1 answer
420 views
Telerik version SP1.11.1.17.614

 
function createSingleSelectEditor(placeholder, options) {
        console.log(placeholder);
            var dropDownElement = $(placeholder).html('<div></div>');
            var parameter,
                  valueChangedCallback = options.parameterChanged,
                  dropDownList;
 
            function onChange() {
                var val = dropDownList.value();
                valueChangedCallback(parameter, val);
            }
 
            return {
                beginEdit: function (param) {
 
                    parameter = param;
 
                    $(dropDownElement).kendoDropDownList({
                        dataTextField: "name",
                        dataValueField: "value",
                        value: parameter.value,
                        dataSource: parameter.availableValues,
                        change: onChange
                    });
 
                    dropDownList = $(dropDownElement).data("kendoDropDownList");
                }
            };
        }
 

@(Html.TelerikReporting().ReportViewer()
            .Id("VisorInformes")
            .ServiceUrl(Url.Content("api/reports/"))
            .TemplateUrl("/Resources/Templates/telerikReportViewerTemplate-FA.html")
            .ReportSource(typeReportSource)
               .ViewMode(ViewMode.Interactive)
            .ScaleMode(ScaleMode.Specific)
            .Scale(1.0)
            .PersistSession(false)
            .PrintMode(PrintMode.AutoSelect)
            .ParameterEditors(p =>
            p.SingleSelectEditor("createSingleSelectEditor"))
Neli
Telerik team
 answered on 23 Sep 2019
2 answers
779 views

Hello,
Can I show a field from a table using a Telerik Reporting HTML TextBox?

 

Claudio
Top achievements
Rank 1
Iron
 answered on 23 Sep 2019
2 answers
4.5K+ views

     Dear Admins.

I'm Developing Application Using Telerik Winform UI R2 2019 SP1. But i was using Microsoft RDLC report's for Printing and Displaying the Results.

But i was to Shift to Telerik Reports.

After spending too much time i was not able to create a single report. Did not find any to the point tutorial for creating report.

I'm Using SqlServer Database.

Please if possible provide any step by step helping material.

thank you

Neli
Telerik team
 answered on 23 Sep 2019
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?