Telerik Forums
UI for Silverlight Forum
6 answers
927 views
Hi,

I am getting pdf files in a byte array form from the MS Reporting Services PDF Rendering Extension 11.0.0.0. Fonts are embeded and everything works fine, but if there are some special characters like letters with apostrophe the document is not displayed. If I save that document and open it with Adobe Reader it looks fine. The only difference that i'm aware of is that this documet has also an embeded subset of type 'TrueType (CID)' with encoding 'Identity-H'. Verdana is the only font in the document. Is there a solution to this problem?

Thanks in advance

Branislav

aziz
Top achievements
Rank 1
Iron
 answered on 15 Nov 2023
2 answers
548 views
I'm using RadPdfViewer control, and it works correctly if I write my code like this:

var stream = Application.GetResourceStream(new Uri("SampleData/doc.pdf", UriKind.Relative)).Stream;
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

But I want to load files that are hosted on a server (within the same network). I tried this:

Stream stream = File.OpenRead(@"\\192.168.1.100\pdf$\doc.pdf");              
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

As a test, I try a local file

Stream stream = File.OpenRead(@"C:\pdf\doc.pdf");              
pdfViewer.DocumentSource = new PdfDocumentSource(stream);

Is there a way to do it?

PS: All the files have read permissions are published
Ephraïm
Top achievements
Rank 1
Iron
 answered on 30 Nov 2021
10 answers
241 views

When I try to print from the demo I have blank pages when using internet explorer 11 last version, same when the application is installed in Out Of Browser Mode.

Curiously printing is okay with FireFox 52.9 esr.

Tried many printers and even Microsoft PDF Printer.

OS Windows 10 x64 v1803

Boby
Telerik team
 answered on 13 Sep 2019
1 answer
92 views

Hello,

We have an old legacy Silverlight app we've been asked to try and add functionality.  Our Silverlight is a typical line of business app that has a sql backend and we use WCF services to interface with SQL.  We've been asked to come up with a way to display pdf files.  On our internal server, we have the pdf's stored and we can return them via a stream via WCF.  We can't just redirect users to an html page because of security reason.

The overview is we have sales orders in a grid, we'll need to create a grid column that contains a ticket number.  The user will click on that if they want to see the ticket in pdf format.  The click will need to initiate a call to a service endpoint what will lookup the pdf file by ticket number and return it as a stream.  We need to then take that stream and display it in a now window.  I was thinking about a taking the stream, and opening up a Rad Window to display the PDF Viewer.  The controls we have from back then don't contain the PDF viewer.

Is this doable, are there any samples I can use to show this is viable to put in a req for the new control?  Thanks

Boby
Telerik team
 answered on 29 Aug 2019
2 answers
54 views

Hi,

We've been using the pdf viewer for years, and a new requirement has arisen around extraction of data. What we'd like to do is to allow users to draw a box around an area of the pdf on screen, and to export that area as a graphic (jpg / png etc).

Is this possible? I've had a look at the forums etc, but can't see that this question has been asked before.

(What we'd like to do in particular, is draw a box around a table and then use this API to parse the image and return structured data to us: https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/ )

Thanks, James.

James
Top achievements
Rank 1
 answered on 08 Mar 2019
1 answer
45 views

Is there any way to validate Acroforms field ?

There's the value that can be can be checked when the IsRequired property is set to true, but what about the scripting validation? are they supported?

Georgi
Telerik team
 answered on 22 Nov 2018
2 answers
88 views

Is there any way to let the PdfViewer update its content after changing a field value by code?

 

In the documentation it is said:

"The UI of RadPdfViewer responds to interactive changes in field values (through mouse interaction with the UI) and it is not recommended to change the field collection in code. If you change the field values from your code, this may lead to unpredictable UI behavior and the applied changes will not be saved when using the SaveAs command."

 

A PdfViewer .UpdateAcroFormsFields() or Field.UpdateUI() method on the PdfViewer would be highly useful!

Ali
Top achievements
Rank 1
 answered on 19 Nov 2018
3 answers
33 views

Are the accents (like é, è...) supported by the RadPdfViewer ?

When enterning accents characters in interactive forms (fugure1) and then exitting the text box, characters aren't rendered (figure2)

After saving and reopening the pdf document the edit shows inconstent content (figure3)

Polya
Telerik team
 answered on 14 Nov 2018
4 answers
37 views
When I try to print a PDF document with filled forms fields, the PDF is printed but the fields data is not.
Ali
Top achievements
Rank 1
 answered on 14 Nov 2018
3 answers
80 views
Hi team,
I am trying to create PDF using "Teleric UI for Silverlight tool" but the problem is, when ever the records are more than one, the tool generates a new page for each record. I just want the help that how can I insert the records in same page till the page end and when the page is full, then create new page for next records, and follow the same pattern for next records.
Tanya
Telerik team
 answered on 27 Feb 2018
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?