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

Obtenir le chemin du PDF ouvert avec PdfViewer

1 Answer 51 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
karima
Top achievements
Rank 1
karima asked on 06 Sep 2020, 08:24 PM

Bonjour
Lorsque j'ouvre un PDF à l'aide du bouton "Ouvrir" de la radtoolbar DE PdfViewer, j'aimerais obtenir le chemin du PDF sélectionné. Quelle est la meilleure façon à procéder? 

Merci

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 09 Sep 2020, 09:35 AM

Hi Karima,

The official language for communication is English and this is why I want to kindly ask you to use it from now on. 

Here is the message translated with google: 

When I open a PDF using the "Open" button of the DE PdfViewer toolbar, I would like to get the path of the selected PDF. What's the best way to do it?

To achieve this you need to extract the XAML of the toolbar so you can access the buttons. This way you can handle the open button click event and get the path. The attached project shows a sample implementation. 

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
PDFViewer
Asked by
karima
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or