This is a migrated thread and some comments may be shown as answers.

Q2 2012 -> Q2 2013 SP1 Layout changes

5 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Koen L
Top achievements
Rank 1
Koen L asked on 16 Oct 2013, 01:44 PM
Hi,

After the update some reports suddenly have a border. I found that the report got a border with of 1pt, that i can change to 0pt.
So if i do that on al my reports then i'm ok.

But when we set a backgound image it does not stretch the report so you can only see a part of the backgoundimage.
The image is set from code behind like:

Bitmap imagedata =new Bitmap(Image.FromFile(HostingEnvironment.MapPath(string.Format("~/images/global/duplicaat-{0}.gif",languageId == 2 ? "FR" : "NL"))));

report.Style.BackgroundImage.ImageData = imagedata;


In de attached files you can see "licaat" while the image says "Duplicaat".

How can i make the report stretch to see the complete background image?

5 Answers, 1 is accepted

Sort by
0
Koen L
Top achievements
Rank 1
answered on 16 Oct 2013, 02:49 PM
0
Koen L
Top achievements
Rank 1
answered on 01 Nov 2013, 10:04 AM
I found one report where i can't remove the border sinds the update. I put every posible border in the report at 0pt, style none and coler white but still i get a black border round my report. When i check the preview then everything looks fine but when i make a pdf the border is there.

What can i do to solve this?
0
Koen L
Top achievements
Rank 1
answered on 05 Nov 2013, 01:20 PM
Can someone look into this issue please?
0
Nasko
Telerik team
answered on 05 Nov 2013, 04:31 PM
Hello Koen,

Check if you have set the border in your PageSettings. This border won't be visible during design time and preview - interactive view, but will be there in print preview and when you print/export the report. You can check the following properties of the report:
  • PageSettings.BorderColor
  • PageSettings.BorderStyle
  • PageSettings.BorderWidth

If the proposed solution does not resolve the issue, please send us the problematic report definition, so we can review it and advise accordingly.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Koen L
Top achievements
Rank 1
answered on 06 Nov 2013, 07:12 AM

I checked the design and found that these where wrong:

After the update from Q2 2012 -> Q2 2013 they where set Black

this.Style.BorderColor.Bottom = System.Drawing.Color.White;

this.Style.BorderColor.Default = System.Drawing.Color.White;

this.Style.BorderColor.Left = System.Drawing.Color.White;

this.Style.BorderColor.Right = System.Drawing.Color.White;

this.Style.BorderColor.Top = System.Drawing.Color.White;

thnx

Tags
General Discussions
Asked by
Koen L
Top achievements
Rank 1
Answers by
Koen L
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or