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
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.
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
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?
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.
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 ?
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.