For something that should have taken minutes I am frustrated!
I can't get any PDF documents to load, either through stream or open file dialog.
My RadPdfViewer is hosted in a childwindow, why does this not work, I know the memory stream is being made available the control just doesn't seem to render anything.
30 Answers, 1 is accepted
I created a sample application to test the control inside a RadWinow and in the main xaml, works both time like a charm.
When imported inside my application, the pdf only show the table that is inside the PDF and no text or image whatsoever.
Does the PDF control has incompatibiliy with any Silverlight control ?
We are sorry to hear that you are experiencing difficulties with the use of RadPdfViewer.
@David: Did you try to first load the PDF file in our online demo? You should be aware that sometimes if there is an exception during the import of a file, the content of the document stays blank. If this is your case there might be a problem with the PDF file you are trying to open. For example, this may happen if your PDF has encrypted data.
Kind regards,
Kammen
the Telerik team
The online demo does not work as well. I can't even view the document. It shows that is it trying to load the document and then it greys out. Exactly what happens when you are running the code in my machine with the Q1 Release.
In that case the problem is probably with the parsing of the document. Could you open a support ticket and send us this document? Then, we could investigate the problem and try to find a solution.
Looking forward to your reply.
All the best,
Kammen
the Telerik team
I personally cannot open the support ticket as it is registered under IT Department. But I have provided with the latest Hotfix for silverlight 4 and 5 and installed the Q1 2012 release. I still can't view the PDFViewer online or using the locahost. I can view other demos perfectly. It's just the PDFviewer that I cannot view. As I said earlier, page loads, the Loading sign appears and then I get PageError in IE and blanks out in Chrome.
When I add the control in blend, I cannot even see the control. I can select it though.
Any help?
If you are using Win XP or Mac OS, you should download LIB 2012.2.306. There was a bug in the older versions that caused RadPdfViewer to crash on these two operation systems. In LIB 2012.2.306 this should be fixed and everything should work.
If this is not the case, please provide some more details on your OS, the version of the browser and the version of Silverlight you have installed, so that we can reproduce the issue.
Kind regards,
Kammen
the Telerik team
I am using Windows XP Service Pack 3; VS 2010 SP1; Q1 2012 Release; Silverlight 5 Tools, toolkit, Developer tools.
The IT department said that they cannot see the internal build 2012.2.306 for download. Only 2012.1.306 (see attached)
Another thing is, what does this have to do with the online demos? Are online demos dependent on these as well?
I still cannot view online demo for PDFViewer using demos.telerik.com/silverlight
Thanks.
You are right, the version of the LIB is 2012.1.306, it was a typo in Kammen's post.
We had recently found about the bug when the PDF viewer is used on Mac and Windows XP. The issue is present in the official 2012 Q1 release (2012.1.215) - the version of controls that the demos use. However, we have fixed it as soon as the issue was reported and if you use the LIB, the problem should be resolved.
Please, let us know if you experience any issues with the LIB.
All the best,
Iva Toteva
the Telerik team
Will give it a shot tomorrow. WIsh the timezones were same so I didn't have to wait a whole day for an answer. ;-)
Chees!
Copied the 2012.1.306 binaries to the installation folder that overwrote the previous version. Created a new SIlverlight project in Expression Blend Preview for SIlverlight 5. Added RadPDFViewer to the layoutRoot.
I get an error. Please see attached.
Any ideas?
@Deepak - we failed to reproduce this issue. We did exactly what you have described, but the 2012.1.0306 version is working well on XP with Blend. Can you double check that you use the right references?
@do - RadPdfViewer does support scanned documents. However, sometimes a compression (usually CCITTFaxDecode) is used with some additional parameters that we do not support. If this functionality is vital for your application, you can create your own CCITTFaxDecode that handles this type of compression and replace our implementation.
All the best,
Kammen
the Telerik team
On loading of my control, the InitializeComponent method was raising a framwork exception on themesetter method.
Turns out the problem was caused by using the Summer theme provided by telerik.
Reverting back to the default Office_Black fixed everything.
Is this theme not up to date ?
NB : This summer theme is also creating framworkstyle error on the RadRadialGauge control (haven't check the linear gauge, though)
Trying to get the viewer to display its white screen again so that i can send a screenshot to Telerik however I'm now stuck on the "Themesetter" exception again.
Seems a lot of the issues we are having are to do with the Metro theme not being as up to date as the Office_Black themes, or having behaving differently.
EDIT: Managed to get a PDF to display instead of a white screen. set the app theme back to default, before I was just setting the pdfviewer theme to office black instead of metro.
This I suppose will have to do for now until they can release a fix for metro and the other themes
There are indeed some problems with the themes in the latest internal builds.
We will try to fix these issues in the upcoming service pack, expected in less than a week. We are sorry for the inconvenience caused.
Iva Toteva
the Telerik team
Sorry for hijacking the thread here. We also have a crash, but using the Silverlight 4 runtime.
We can load the control and display it, but as soon as a PDF gets loaded the loading screen appears and soon after the application crashes.
When I update my machine's Silverlight runtime to version 5, but use the exact same controls, everything loads just fine.
We had similar issues before with native Silverlight resource definitions that crashed the application on version 4. Unfortunately we cannot upgrade to version 5 since this is a criteria of the end product.
Will this be fixed with the SP too?
Edit:
SL Version 4.1.10111.0 from http://www.microsoft.com/getsilverlight/locale/en-us/html/Microsoft%20Silverlight%20Release%20History.htm
OS: Windows 7 64bit
Dev: VS 2010 SP1
Controls: Q1 installer + override from RadControls_for_Silverlight4_2012_1_0319_TRIAL_hotfix.zip
Here's the stacktrace:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Collection_AddValue[T](PresentationFrameworkCollection`1 collection, CValue value)
at MS.Internal.XcpImports.Collection_AddDependencyObject[T](PresentationFrameworkCollection`1 collection, DependencyObject value)
at System.Windows.PresentationFrameworkCollection`1.AddDependencyObject(DependencyObject value)
at System.Windows.Controls.UIElementCollection.AddInternal(UIElement value)
at System.Windows.PresentationFrameworkCollection`1.Add(T value)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.GetPagePresenter(FixedPageLayoutInfo pageInfo)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.UpdateVisiblePages(IEnumerable`1 visiblePages)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.UpdatePagePresenters()
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.ViewportSizeChanged()
at Telerik.Windows.Documents.UI.FixedDocumentPresenterBase.set_ViewportSize(Size value)
at Telerik.Windows.Documents.UI.FixedDocumentPagesPresenter.ArrangeOverride(Size finalSize)
at System.Windows.FrameworkElement.ArrangeOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
We tested the behavior of RadPdfViewer from the lib with the set-up you have described, but unfortunately were not able to reproduce the issue.
We would appreciate it if you could isolate the problem in a sample project and attach it to a support ticket. In this way, we could verify if the problem has been fixed.
Looking forward to your reply.
Iva Toteva
the Telerik team
Could you provide some more details on the issue. For example, which version of RadPdfViewer are you using?
Regards,
Kammen
the Telerik team
Telerik WPF 2012.1 326 release
VS2010 Ultimate SP1
Repro:
Create a XAML
Add <telerik:RadPdfViewer />
Edit the tag to include DocumentSource
As soon as you type DocumentSource, VS crashes/restarts. No error details are provided.
I have lots of other telerik controls on my forms and they work fine. I can also assign other attributes to the tag and no crash occurs.
Hi Ben,
We have managed to reproduce this issue and have found a way to fix it. The fix should be available in the next LIB (Latest Internal Build) probably next week. Until then, as a workaround you can hide the designer and Visual Studio should not crash.The Telerik points in your account have been updated in appreciation of your involvement.
All the best,
Kammenthe Telerik team
Hello, I’m using RadPDFViewer for Silverlight 4 and I faced a problem that I can’t open some PDF files.
But in your demo that uses SL 5 this control can open those PDF files. Could you please confirm that functionality of RadPDFViewer for SL5 has been enhanced and such situation is normal for RadPDFViewer for SL4?
Generally, there are not major differences between SL 4 and SL 5 version of the RadPdfViewer (except the vector printing). So the reason that you can open some documents in our online demo but cannot open them locally may be that you are using different version of the control. Our online demo is version 2012.2.725. Which version do you use?
All the best,
Kammen
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I have a problem with the radpdfViewer.
In my silverlight solution when i set the startUpProject on the web application project. the PdfPreview shows a grey screen
but if i set the startup project on the silverlight project. the pdfpreview works fine.
So when I publish the web site. the problem of the grey screen persist
My telerik version is v. 2012.3.1017.1050
Can you please take a look at this article and make sure you are not missing anything? If you are still facing such an issue, please send us some additional details such as where the file you are trying to load is - i.e. is it embedded in your project or are you trying to load it from Uri. Also, what is the method you are using for showing the file as per the article referenced above?
Any other details you feel are relevant will also be appreciated.
I'm awaiting your reply.
Regards,
Petya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I'm having a strange problem with the PdfViewer, it is not displaying accurate the original document. I can display most of the pdf documents but when comes to more complex documents with gradient images and picture inside of a frame the document is not well displayed. I'm getting the same behaviour using the online demo http://demos.telerik.com/silverlight/#PdfViewer/FirstLook. so I don't think is an implementation issue. I cannot attach a pdf document, it allows me only images so l attached screenshots.
Best Regards
Florin
I'm having a strange problem with the PdfViewer, it is not displaying accurate the original document. I can display most of the pdf documents but when comes to more complex documents with gradient images and picture inside of a frame the document is not well displayed. I'm getting the same behaviour using the online demo http://demos.telerik.com/silverlight/#PdfViewer/FirstLook. so I don't think is an implementation issue. I cannot attach a pdf document, it allows me only images so l attached screenshots.
Best Regards
Florin
As you have noticed, RadPdfViewer does not support gradients. The list with all not supported features can be found here. In this case it is Pattern color space.
I hope this information is helpful!
Regards,
Kammen
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I just upgraded to WPF version 2013.1.220.40. Apparently, this version of the RadPdfViewer can't read pdf files produced with the ComponentOne C1PdfDocument control.
This was not a problem with the previous version of the RadPdfViewer control.
Version 2013.1.220.40 can read pdfs produced by Adobe.
p.s. I am using C1PdfDocument because Telerik does not have an easy way to convert ascii files with new page control characters to pdfs. :(
Hi Mark,
1. Since Q1 RadPdfViewer uses font files in order to locate the glyph outlines. This means that it requires that the used fonts must be embedded in the PDF file (according to the PDF specification, when fonts are not embedded in a PDF file, the result is implementation depended). In the cases that fonts are not embedded, RadPdfViewer tries to find the font from the system using only its font name. Sometimes this font name cannot be resolved to a valid font family. For example when you have a font name "TimesNewRoman", this is not valid "Times New Roman" font family. I guess that this is the case here. We have this issue in our to-do list, but we have not scheduled it yet.
2. Have you tried the RadRichTextBox for WPF functionality to export to PDF? Since Q1 2013 RadRichTextBox for WPF can embed used fonts in the PDF documents so they are correct according to PDF specification and in general show correctly in RadPdfViewer.
All the best,
Kammen
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.