public class MultiSheetReport_Group1 : Telerik.Reporting.ReportBook
{
public MultiSheetReport()
{
this.Reports.Add(new CoverPages.GroupOneCoverPage());
this.Reports.Add(new ItemizedPages.GroupOneItems());
}
}
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);
}
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.
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!
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
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"))
Hello,
Can I show a field from a table using a Telerik Reporting HTML TextBox?
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
I have tried two different machines and the online demos at : https://demos.telerik.com/reporting/ show only loading report.
I want to show these demos to management so we can evaluate using Telerik reporting.
Are the demos offline?