Telerik Forums
Reporting Forum
9 answers
345 views

Hello,

I am using Telerik Reporting R3 2016 in my project. The Reports that i have created are getting rendered perfectly fine without any issue in IE and FireFox but when i try to run the same reports in Chrome it doesn't work. I didn't get any error, it shows page with really thing report page and page numbers also, please check attached screenshot. the same reports works perfectly fine in IE and Firefox.

 

Regards,

Savan

Tim
Top achievements
Rank 1
 answered on 11 Sep 2017
5 answers
333 views

We are facing an issue with our Telerik report in Chrome browser. It was perfectly fine until now, however we can access the report with other browsers like Firefox.

It seems that there is an update in JQuery which is causing problem, there is a warning message we are getting in developer console of Chrome "jquery-3.1.1.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/"

 

Telerik Report is loading fully but applying a CSS class trv-nav-input in a Chrome Browser with a height 99% to the report header hence covering the whole report. As soon as we fix the height of header, we can see the report.

 

The following is the report calling from Javascript

 reportViewer.reportSource({

                report: ReportSheet,
                parameters: {
                    "Parameter1": departmentId,
                    "Parameter2": employeeid,
                    "Parameter3": locationid,

               },
            });

 

Your immediate help will be greatly appreciated. 

Tim
Top achievements
Rank 1
 answered on 11 Sep 2017
4 answers
707 views
Hi,

I'm looking to display the Page Header underneath the Report Header on the first page of my Report. This will be used to display the Header Section of my Table so that each page of the report has a reference of the table column names.

Is it possible to move my Page Header section below my Report Header? or is there an alternative way that will make this work?

Regards,

Landon
Katia
Telerik team
 answered on 08 Sep 2017
1 answer
643 views

Hi guys I explain you my problem: I have defined the template of a report thanks to the StandLone Report Designer,  in this report I have defined two parameters (by the designer). I want to pass one of this parameters from outside of the viewer and one by selecting it inside the viewer.

How can I do that?

I have added in my html page this function

        $('#Nome').change(function () {
            var viewer = $("#reportViewer1").data("telerik_ReportViewer");
            viewer.reportSource({
                report: viewer.reportSource().report,
                parameters: { Nome:$(this).val() }
            });
        });

The parameter that I want to change is called "Nome", but it doesn't do anything! How can I link the textbox (its id is "Nome") created outside the viewer  (where I will write the parameter) to the parameter "Nome" defined into the designer?

Thank you for helping

Katia
Telerik team
 answered on 07 Sep 2017
7 answers
170 views
Hi,

I've a picture box in my report. While exporting to . CSV i'm getting an empty file.

Is it possible to exclude the picture box while exporting only to CSV format or how to resolve the issue.

Thanks & Regards
Ramakrishnan S
Owen
Top achievements
Rank 1
 answered on 06 Sep 2017
4 answers
1.4K+ views

Hi there,

I'm using 2 datasources in one report. The first datasource gets the main element and the second the childeren of that element.

Because I couldn't get a table of a list in that datasource I want to get it trough a second call. 

 

If I set the parameter for that datasource as = Field.ItemId it doens't pass along the value of that field to the second DataSource.

 

How can I do this?

 

 

Katia
Telerik team
 answered on 05 Sep 2017
3 answers
1.4K+ views

I have an invoice with multiple pages, I want to display the invoice summary an the bottom of the last page (or the footer of the last page) only.

I tried to set the summary in the body, but sometimes it shows in the middle of the page depending on the data available.

I am using C# language and creating Windows Application

How could i do it?
thanks.


Shareefudheen
Top achievements
Rank 1
 answered on 05 Sep 2017
2 answers
601 views

Hello , 

I am using Myriad pro font in the report. There is no difference in the regular, bold and italic text of the generated Pdf report. It works fine when changed to Arial font. I have the font installed and embedded in the pdf. Is there anything specific that needs to be done for bold and italic to show up in the report ?

Katia
Telerik team
 answered on 04 Sep 2017
9 answers
1.0K+ views

We have an ASP.NET web app running on .Net 4.6.1 which uses Telerik Reporting extensively to create PDFs. We have just updated our Telerik Reporting library fro 2014 to 2017 (tried all versions).

We have a number of "PictureBox" elements in our PDF reports where we generate an image in code and assign that to the PictureBox's Value element (snippet below).

 

1. Report designer code for the PictureBox:
---------------------------------------------------------
this.pictureBox6 = new Telerik.Reporting.PictureBox();
this.pictureBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.47999998927116394D), Telerik.Reporting.Drawing.Unit.Inch(2.2999999523162842D));
this.pictureBox6.MimeType = "";
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.2899999618530273D), Telerik.Reporting.Drawing.Unit.Cm(2.2899999618530273D));
this.pictureBox6.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional;
this.pictureBox6.Style.BackgroundColor = System.Drawing.Color.Transparent;
this.pictureBox6.Value = "";



2. Create a Bitmap image dynamically and assign to the PictureBox element:
-----------------------------------------------------------------------------------------------------

var flag = new System.Drawing.Bitmap(10, 10);
for (int x = 0; x < flag.Height; ++x)
    for (int y = 0; y < flag.Width; ++y)
        flag.SetPixel(x, y, Color.White);
for (int x = 0; x < flag.Height; ++x)
    flag.SetPixel(x, x, Color.Red);

var image = flag;

pictureBox6.Value = image; // RUNTIME ERROR BELOW:

"An error has occurred while processing PictureBox 'pictureBox6':
Invalid image data.
------------- InnerException -------------
Could not find a part of the path 'D:\DEV\MyProj\MyProj.Web\'.

 

I have tried the following already:

- var image = Image.FromFile("D:\\DEV\\MyProj\\MyPorj.Web\\Content\\Images\\5.PNG");
  pictureBox6.Value = image;

- MemoryStream ms = new MemoryStream();
   image.Save(ms, ImageFormat.Bmp);
   pictureBox6.Value = image;

 

Both of the above return the same error. For the life of me, I can't figure out the cause of this error. Downgrading back to Telerik Reporting 2014 fixes the problem. Please help.

AN
Top achievements
Rank 1
 answered on 04 Sep 2017
2 answers
117 views

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.

 

 

 

Xi
Top achievements
Rank 1
 answered on 01 Sep 2017
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?