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

Problems in Silverlight integration

8 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
HDC
Top achievements
Rank 1
HDC asked on 29 May 2011, 09:10 AM

I'm currently evaluating using Reporting for our development in Silverlight.

I have encountered several problems:

1. I have added a .jpg to picturebox... the picture displays on export to PDF/TIFF but does not appear in the viewer. The picture was set by selecting a .jpg from value property in the designer

2. On the footer i added a horizontal dotted line, it appears in the viewer but not in pdf/TIFF

3. I'm using borders for certain fields which have been placed one next to the other to form a grid, they display perfectly on the viewer, but when exported to pdf, some borders will be printed with a thicker border then others, although all of them have the same thickness. This is NOT the case in TIFF, there the border are also ok.

 I have send a screenshot in att. Unfortunately i was unable to send the PDF since your policy does not allow to attach the file. Instead i have taken screenshots of the PDF problems such as the missing logo, the thicker border and the missing line on the footer.

 

8 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 May 2011, 08:58 AM
Hello Peter,

Thank you for your interest in Telerik Reporting and up to your questions:
  1. Check the following KB article for more information: Images, Charts, Barcodes and Shapes are not being displayed in the Silverlight report viewer.
  2. With the Q1 2011 SP1 we've addressed an existing limitation of the xaml rendering, namely Fixed: Border style is not respected. Just tested with this version and the border appears correctly in both PDF and TIFF, so make sure you're using the Q1 SP1 release.
  3. This behavior is caused by Acrobat Reader when zooming in. You can avoid it by excluding two page display options (see attached screenshot).

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
HDC
Top achievements
Rank 1
answered on 30 May 2011, 05:06 PM
Hi Steve,

Thanks for helping me out!

Problem 1. was indeed solved using the configuration settings as recommended by the article. My mistake, i should have added those settings to the config file.

Problem 2. is still the same, i have verified and i am running version 5.0.11.510. As you have seen from the screenshots, the line from the viewer is not there in TIFF/PDF. I did try again using the changed settings of point 1, but the line is still not being printed.

Problem 3. You are correct that when the setting "enhance thin lines" is disabled, the problem goes away, however i can not uncheck the other setting "Smooth line art" (it's disabled), but... Is it really acceptable that i need to tell my users to change their settings in order te see the report without this layout problem? Why doesn't telerik support these features of Acrobat Reader?

Best Regards,

Peter
0
Steve
Telerik team
answered on 01 Jun 2011, 04:44 PM
Hi Peter,

Glad you are making progress. Let's get the rest items resolved:
  • we're not able to reproduce such problem on our end and we need a bit of clarification. You say "horizontal dotted line" in footer. First which footer do you refer to - as per the Understanding Report Sections help article, you can have group footer, report footer or page footer. Also what is the "horizontal dotted line" - is that a top/bottom border on a footer section or report item? Or probably you've used our Shape item? Please clarify or better yet, provide us with a link to a sample report that shows the problem.
  • there is no problem with the PDF document itself i.e. we're not missing a feature. This is a visual problem of the Acrobat program, when I say visual I mean literally visual as this discrepancy shows only in certain zoom level. Should you print the PDF file, you would not notice any problems on the printed paper. Another proof that this is specific to Acrobat is the fact that other PDF programs such as Fox it or Sumatra do not exhibit such problem.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
HDC
Top achievements
Rank 1
answered on 01 Jun 2011, 08:59 PM
The footer used is the PageFooter
The dotted line is a "Telerik.Reporting.Shape" object.
The location of the object (x, y) is indeed 0,0 on that section.

I have tried to included the report but i can not upload it here since it allows only jpg, png, etc... I tried renaming a zip file to jpg, but that didn't work either.

About the PDF problem, i have not attempted to print it. I can not print it at home, i'll do this later at work. I guess you are right that nothing can be done about it if it's a problem with Acrobat. As long as it prints fine, it's ok by me.

Thanks a lot for your help!

Peter
0
Steve
Telerik team
answered on 02 Jun 2011, 05:16 PM
Hello Peter,

I've attached a sample report with a horizontal shape item with LineStyle=Dotted and the generated PDF file from it. You can compare the differences with yours.

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
HDC
Top achievements
Rank 1
answered on 05 Jun 2011, 07:41 AM
Thanks for the example Steve,

But i don't see any difference in the code and the line still doesn't draw.



0
Steve
Telerik team
answered on 06 Jun 2011, 01:36 PM
Hello Peter,

Please add the report from my previous post to C:\Program Files (x86)\Telerik\Reporting Q1 2011\Examples\CSharp\ReportLibrary (where by Q1 we refer to 5.0.11.510) and run the Silverlight demo. You should see the dotted line in both the viewer and if you export to PDF. If this is not happening on your end, there must be something wrong/specific on your end and we would appreciate if you provide us with a runnable sample that exhibits the problem.

Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
HDC
Top achievements
Rank 1
answered on 06 Jun 2011, 06:32 PM
Hi Steve,

It works now, though i don't understand why.

I have made the component height of the line a bit higher (0,15 cm) and then it printed the line correctly. However, afterwards i reduced the height again to the original height and it continued to print the line correctly.

Anyways, i'm concidering the issue closed for now.

Thanks for your help.

Best Regards,

Peter
Tags
General Discussions
Asked by
HDC
Top achievements
Rank 1
Answers by
Steve
Telerik team
HDC
Top achievements
Rank 1
Share this question
or