Telerik Forums
Reporting Forum
3 answers
1.3K+ views
I have a telerik report that on the hear I want to display a logo that would co with the client the report is being printed for.  I know if I put the images on a network drive and then in the dataset returned I return the th file location and then

private void reportHeader_ItemDataBinding(object sender, EventArgs e)
{
    this.LogoImage.Value = "=Fields.Logo";
}

this will work.  but I would rather point to a file that is in the resources folder of the project.  This is a WPF project
On the forms of the wpf application I can add
Image1.Source = new BitmapImage(new Uri(@"/Resources/" + c.Logo,UriKind.Relative));

and it gets the logo from my resources folder.  I would like the report to get the image from that same location.







Dilyan Traykov
Telerik team
 answered on 20 Feb 2019
2 answers
329 views

Hi.

The attached image is from winforms report project.

The line series represents a person's weight over time. The stacked area chart in the background represents BMI levels (below, normal, above, obese)

How do I make the stacked area opaque so that the grid lines can be seen. At the moment it's obscuring them.

Many thanks in advance.

Czeshirecat
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 20 Feb 2019
8 answers
3.2K+ views

Hello,

1: I read that it is not possible to resize my report header at runtime. Is this true? I have text that sometimes wraps and other times doesn't, and I'd like to change the height of my report's header accordingly. Or is there a way to determine if the text will wrap, so I can reduce the font size until it will no longer wrap?

2 (assuming option 1 isn't possible): I've moved my header to the detail section, but now I would like for it to repeat on each page. My header consists of two textboxes.

Also, moving the header textboxes to the detail section creates another problem: sometimes, a seemingly random page break will be placed immediately after the textboxes. I'm assuming this is because I have placed a subreport immediately after the textboxes, and the subreport won't fit onto a single page. Does anyone know how I can force the subreport to display immediately below the textboxes?

Thanks!

Maxime
Top achievements
Rank 1
 answered on 19 Feb 2019
1 answer
202 views

     Every day we are provided new data.  We have over a lines of data and are generating 50+ charts using the reporting software.

 

When the first user loads the charts of the day how can I cache the results of the calculations so the next user and so on for the rest of the current day is cached so it loads right away with the cached calculated results?

Todor
Telerik team
 answered on 19 Feb 2019
5 answers
3.0K+ views

I am trying to build a string of multiple fields with line breaks and a formatted date.  However I cannot get the Format function to work.  Here is what I have

{Fields.title}<br />Since<br />Format('{0:MMM yyyy}', {Fields.StartDate})

Trying to get output like

CEO

Since

March 2010

Silviya
Telerik team
 answered on 19 Feb 2019
6 answers
648 views

Hello! I was wondering if anyone could point me to a resource that goes a little further in-depth with how paths are handled in PictureBox items.

I have a set of pictures that I am attempting to display without embedding them in the report. In the Standalone Report Designer, it works. But in the Report Server, I get the error from the title of my thread, even though I've replicated the filepath for the pictures and populated the directory with them.

 

However, there is another set of pictures in the same report stored in the same file that are displaying. But it's location is being built in a data source and they are displaying as expected.

Logan
Top achievements
Rank 1
 answered on 18 Feb 2019
7 answers
515 views
Excuse me, some users will not be able to open the Excel exported by Telerik, which will prompt the following error. How do we deal with this problem?

Thank you!
XBlue
Top achievements
Rank 1
 answered on 18 Feb 2019
0 answers
188 views

Hello

I just migrated a website that was very old and hosted on a very old server too. We now have a Windows server 2016 where I have added this website and configured it and it worked fine until I checked the page with a Telerik Report viewer on it. That page didnt load and gave me error as attached. The version of Telerik.Reporting is 6.0.12.215.

I tried to google it a lot but couldnt find much all I found was to check if Dlls are added in bin folder and I verified they are. Can someone please help me to fix this. Please note that I havent changed a single line of code in fact I don't have access to source code its just the publish files that I have and they still seems to be working all fine on old server. 

Thanks
Nirav

 


Nirav
Top achievements
Rank 1
 asked on 16 Feb 2019
3 answers
824 views

Hi,

I have created a report based on a CSV data source. This data source has two columns where there is one field called 'Quantity'. In the report, I have a text box item which displays the sum of the quantity where I need to take the sum of the CSV data source 'Quantity' field. I can not configure the data source to send the sum of the quantities beforehand so I need to do this sum in the rendering process of the report. Is there a function where I can achieve this?

Thank you. 

Neli
Telerik team
 answered on 15 Feb 2019
7 answers
672 views
I am experiencing a problem with the WinForm Report Viewer and my reports when the user has customized the DPI settings above 100%.  See attached file Windows10_Settings.png of the settings I am referring to.

 

When this setting is 100% all renders well in the report viewer.  Anything over 100% cause the viewer contents to be displayed smaller.  I am not sure how to fix this.

The attached Viewer.png file shows how the report contents shrink on the page.

Silviya
Telerik team
 answered on 15 Feb 2019
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?