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
What can i do to solve this?
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.
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