Hello, someone has some idea how to customize reporting
I do the following
@(Html.TelerikReporting().ReportViewer()
.Id("reportViewer1")
.ServiceUrl(Url.Content("~/api/reports"))
.TemplateUrl(Url.Content("~/Content/ReportViewer/templates/telerikReportViewerTemplate.html"))
.ReportSource(Model.TheReport)
.ViewMode(ViewMode.Interactive)
.ScaleMode(ScaleMode.Specific)
.Scale(1.0)
.PersistSession(false)
.PrintMode(PrintMode.AutoSelect)
.EnableAccessibility(false)
.Deferred()
)
public class ReportController : Controller
{
// GET: Report
public ActionResult Index()
{
Uri uri = HttpContext.Request.Url;
var changeReport = new ReportController().Identification(1, uri);
return View(new ReportModel() { TheReport = changeReport});
}
// Controls
var txtName = ((Telerik.Reporting.TextBox)report.Items.Find("txtName ", true)[0]);
txtName.Value = !string.IsNullOrEmpty(name) ? name.Trim() : empty;
I'm using: Telerik Reporting Q1 2015 v9.0.15.422
I have some data that is duration information (TimeSpan to be specific). I want to show duration in h:mm:ss so that we can sum up durations in spreadsheet. However, I'm only able to show duration in hh:mm:ss format which can't be summed up in spreadsheet. Is there any way to show TimeSpan in h:mm:ss format?
When I press zoom in or zoom out in HTML5 viewer, the element trv-report-page has set height: 0px; width;0px
I'm using Firefox 58.
When I disable width,height in css inspector all looks ok.
Without disabling report is gone. (hidden)
Hi,
I'm creating report where table1 contains another table2 and these tables bind to a data (Layout.png). Tha data for table2 can be empty and it needs to be callapced. But report generates empty space for table2 if there is no data (Table space.png). I've tried to set the CanShrink = True for textbox2, to add the ConditionalFormatting to set the Visibility = False if there is no data for table2. But it does not work.
How can I hide the empty space?
Thank you,
Yuri.
I'm upgrading a Production version of our Reporting App that is using version 10.1.16.615 to the newer 11.0.17.222. There are numerous changes although I have not touched one type of reports, but with the new version .dll's I'm getting "Invalid value of report parameter" (see attached screenshot) on those. These reports all have approximately 50 sub-reports, logo's and the typical Header/Footer combination, in other words, they are complex reports. The other 2/3 of reports display correctly, but these give me the error.
Any help would be appreciated. Thank you,
Jack
Hi, I need help for my problem on telerik html 5 to render big record, I have an idea to configure it via javascript to render only selected page, then every time we navigate to another page, renderer will render selected data only. Can I configure that via javascript or from the backend? Or, there is any other way to solve my problem?
I also have other problem with big records to be exported.
Thank You.
We have built a report that we send to a printer with a staple option.
We would like to have the report staple on group change.
Example would be a invoice report with 5 pages. We run that report for 5 invoices at 5 pages each for a total of 25 pages. The desired outcome would be to staple it in bundles of 5.
Can we do this in the Telerik Standalone Report Designer?
So I have several well established applications for which I have not made any recent changes to. All of these applications have reporting functionality built in and Im displaying the reports in a report viewer. All standard stuff nothing exceptional in the setup. Up until about 3 weeks ago you could, from the ReportViewer print a report in Chrome without issue. Now.....every thing I print is blank. I can open these same reports, exported as PDF's, in Edge, IE or Adobe Reader and print them without any problems at all.
Im going to include some code for one of the basic reports but as you can see...nothing special. I learned that Chrome has made some changes to the the PDF plugin support but I dont really understand how this affecting the printing of a report from the ReportViewer. My test report only has a label field on it for simplicity's sake. Im running the latest versions of the WebUI and the Reporting software. The report looks normal in print preview and even if I select Print using system dialog the results are the same.
Again these arent new reports and no code changes have been made to them in months. My guess is Chrome has done something or perhaps there is a new setting im not aware of in either Chrome or the ReportViewer. Ive also tried the "Keep Together=false" setting to no avail.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Test" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.ReportViewer.WebForms" Namespace="Telerik.ReportViewer.WebForms" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Test</title>
<link href="//fonts.googleapis.com/css?family=Arial:400,300,600,700|Raleway:400,300,600,700|Archivo+Narrow:400,700" rel="stylesheet" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<link href="../styles/site.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div>
<telerik:ReportViewer ID="ReportViewer1" runat="server" ReportSource-IdentifierType="TypeReportSource" Width="850" Height="1000"></telerik:ReportViewer>
</div>
</form>
</body>
</html>
Code behind:
using System;
using Telerik.Reporting;
public partial class Test: System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
dynamic report1 = Activator.CreateInstance(System.Reflection.Assembly.Load("EMS").GetType("TestReport"), false);
InstanceReportSource rptSource = new InstanceReportSource();
rptSource.ReportDocument = report1;
this.ReportViewer1.ReportSource = rptSource;
}
}
I dont mind telling users export only then print using Adobe Reader or another browser but I really liked being able to print from the ReportViewer.
hello sir,
i want know that how can i bind a list to report programally and show in the report viewer without help of dataset and report wizard.