Telerik Forums
Reporting Forum
2 answers
628 views
Hello,

I show the selected values from an ASC sorted MultiValue-Parameter with

Join("; ", Parameters.param1.Label).

But I have the problem that the displayed values aren't sort. They are in the order as I have selected them before in the Multi-Value-DropDown.

How can I sort the displayed values?

Thanks.

Regards,
Diego
Todor
Telerik team
 answered on 12 Sep 2017
9 answers
273 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
289 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
637 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
592 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
141 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.3K+ 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.2K+ 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
545 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
924 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
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?