Hi,
I have a report in which one of the tables uses objectDataSource, while the others use either SQL or Cube data sources.
I followed the docs (http://docs.telerik.com/reporting/standalone-report-designer-extending-configuration), and added necessary assembly references in the ReportDesigner config file. When I open and preview the local trdx report using report designer, I am able to see the table that uses objectDataSource populated correctly.
However, when I include the report in my Web Api application, and render it in HTML5 report viewer (http://docs.telerik.com/reporting/html5-report-viewer), the table doesn't show any data, while the other tables that use SQL and Cube data sources are populated correctly.
The reason I can think of is the assembly references weren't loaded when the report is rendered in HTML5 report viewer in the Web Api application. But I am not sure what needs to be done to overcome it. Can anyone please shed any light on this? Many thanks.
Hello, my problem is when I try to generate printout in c# app, design in Designer to trap file, the final generated printout looks like scaled in plus.
My target is to get 95 mm x 44 mm label, and this one is designed, in Designer, printout is fine. When I try to print is by below code, label Paper Size looks like scaled. How to set paper size or fix my problem?
Code:
string path = HostingEnvironment.MapPath(@"~/Content/printouts/packageLabel.trdp");
System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings();
printerSettings.PrinterName = "Bullzip PDF Printer";
System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.PrintController = standardPrintController;
UriReportSource reportSource = new UriReportSource();
reportSource.Uri = path;
reportProcessor.PrintReport(reportSource, printerSettings);
I have a web application designed with Telerik ASP.Net AJAX tools. There are many reports in the application being presented to users, these reports were made using Telerik.Reporting assembly about 4 years back. Many of these reports are using HTTP session values to populate some text values. Code used for which is as shown under.
txtUserCodeId.Value = System.Web.HttpContext.Current.Session["BackgroundCode"].ToString();
There is a need now to update these reports with some updates. I have tried to use the HTML5 Report Viewer. I have been able to get it to work, however all the session values being used are now not holding any value and come up with null exception giving errors.
These session values are not report parameters, which I have been able to assign as required. Do I have any options to use session values or alternative methods.
Regards and Thanks...
So, I have a report and a subreport in the same directory. The report runs fine from Report Designer when I click Preview, but when I run the report from within our application, I get an error:
An error has occurred while processing SubReport 'TestsSubReport':
Could not find file 'F:\MAJIQ\Elixir\ABCD\Install\Application\7.2.17221.02\COAReport (Tests Sub Report).trdp'."
Any help is greatly appreciated.
-Joe
Hello,
I have few reports when I am using data tables (like in att1) and everything was working really nice, but then i have upgraded Reporting to R2 2017. The problem is that if there is no Data returned for my table i was using property "NoDataMessage" to display some text (att2). In newest version if i put anything into "NoDataMessage" property it crashes my report with
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
The only way to make it work is to leave this property empty, or to set it's value to some integer (but it won't be displayed anyway). I do not really want to modify the queries as it was really handy to display Text when there was no data returned from database.
Can anyone help me with this?
Hi,
When I trying to export a report with different search parameter, I've got different result in report viewer, but I've got same result in export to excel.The problem seems to be browser caching. Does telerik reporting have solution for this issue?
regards
I am currently developing a reporting app with Angular. This app is housed in .NET MVC architecture due to the constraints I must work within. In order to keep my data access tier from knowing anything about the reports themselves, I have a separate DatabaseManager that makes my queries and returns the results in a business object. My angular front-end gets the query parameters from the user, makes the rest call to an MVC ApiController.
My question is this: how do I take the business object and display the data in the report within the angular app? I have the angular report viewer in my component html. On the back-end, I can create an instance of the report I made in the designer, set it's DataSource to the business object, and make that the ReportDocument property of an InstanceReportSource. After returning that to the front-end, I am stuck.
How can I get that InstanceReportSource in the report viewer? Am I going about this in the wrong way to begin with?
Hi
I have a dataset containing the following data items
Location, Capacity & utilisation.
What I'm trying to do is have Location down the y Axis and show a stacked bar on the X with Capacity always at 100% and the utilisation shown over it with the actual data value shown as a % next to the bar.
I have gone through the help and docs but cant get what I need to show, For example where is the DataPointValue in 2017 Barchart?
Andy
I am using Telerik report in Visual studio and the structure of my datasource is as below :
<p>
public
class
Consignment<br> {<br>
public
DeliveryNoteLabels Labels {
get
;
set
; }<br>
public
Details Ddepot {
get
;
set
; }<br>
public
Company Company {
get
;
set
; }<br>
public
Details ODepot {
get
;
set
; }<br>
public
Details CollectionDetails {
get
;
set
; }<br>
public
Details Customer {
get
;
set
; }<br>
public
List<Pallet> Pallets {
get
;
set
; }</p><p> }</p>
Consignment is an object bound to the report. I want to print the details of Pallets (list) to either a text box or a table in the existing report. I don't want to bind only the pallets object to the report since I need other properties of the consignment. How do I achieve this ?