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

bind pdf viewer inside book control

7 Answers 171 Views
Book
This is a migrated thread and some comments may be shown as answers.
mahmoud
Top achievements
Rank 1
mahmoud asked on 02 Mar 2012, 04:35 PM

I want to use the rich digital media experience book to make a flipping book

I need to put a pdf viewer inside page and bind it to a pdf path.
The pdf file exist on the server at the website not at the silverlight application
what is the xaml and c# code that do this ?


7 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 06 Mar 2012, 10:40 AM
Hi Mahmoud,

Thank you for contacting us. With our latest official release, we released a component called PDF Viewer. Integration between RadBook and RadPdfViewer will be available with our Service Pack release which is scheduled for the second half of this month. Let me know how this timeframe works for you.

Kind regards,
Kiril Stanoev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
xiu
Top achievements
Rank 1
answered on 15 Mar 2012, 03:28 AM
can you give a demo  how  pdf viewer working with book's pagetemplate?
0
Kammen
Telerik team
answered on 15 Mar 2012, 04:33 PM
Hi Xiu,

The required components for the integration of RadPdfViewer with RadBook will be available with the Service Pack in less than two weeks. We have also prepared a demo, which will be published at http://demos.telerik.com/silverlight once the service pack is out.

Regards,
Kammen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Lancelot
Top achievements
Rank 1
answered on 22 May 2012, 05:51 PM
Hi Xiu,

The demo is now available and integrates the RadBook and PDF viewer. The controls together allow you to load a PDF file directly into a RadBook, which will distribute the PDF file across it's pages.

You can explore this functionality right now by following these quick and easy steps:
  1. Go to http://demos.telerik.com/silverlight/#PdfViewer/Integration/RadBookIntegration
  2. Click on the "Open" folder icon just below the "PDF Viewer in RadBook" title.
  3. Select your own PDF file to try out (Try to find one that is at least 5 pages long, this will let you see just how elegantly powerful these controls together are)

Your PDF file will load into the Radbook, explore it by flipping through the pages.

Let me know if you encounter any problems,
Lancelot
0
Li
Top achievements
Rank 1
answered on 14 Sep 2012, 08:51 AM
Hi  Lancelint 

Thanks for you explain about binding pdfviewer in radbook. i just review the source code and have a few queries.please help me clarify  from the source code in below.
     <  xmlns:ui="clr-namespace:Telerik.Windows.Documents.UI;assembly=Telerik.Windows.Controls.FixedDocumentViewelers">
    <UserControl.Resources>
        <DataTemplate x:Key="PageTemplate"> 
            <ui:FixedDocumentSinglePagePresenter Page="{Binding}" Width="325" Height="447">
            </ui:FixedDocumentSinglePagePresenter>
        </DataTemplate>
    </UserControl.Resources>
 i believe you used fixeddocumentsinglepagePresentr temple to bind pdf file. may i have this file? if possible , could you send this project to me ? i will be able to understand.my email address is li_ling@medinno.com.thanks a lot  



regards 
Li Ling 
0
Kammen
Telerik team
answered on 17 Sep 2012, 01:06 PM
Hello Li,

The FixedDocumentSinglePagePresenter is a control, included in the Telerik.Windows.Controls.FixedDocumentViewers assembly, in the Telerik.Windows.Documents.UI namespace. It is part of the source code, but you don't need its source in order to create an example like the one in the online demos.

On the other hand, when installing our controls, you should choose to install the demo applications as well. Then you will have a Demos folder just where the Binaries are installed and can run them locally on your machine.

You can find the demo application in the PDFViewer / Integration / RadBook folder.


Kind regards,
Kammen
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Kaiven
Top achievements
Rank 1
answered on 19 Apr 2013, 09:30 AM
thx .,how about this pdf viewer written in c#
Tags
Book
Asked by
mahmoud
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
xiu
Top achievements
Rank 1
Kammen
Telerik team
Lancelot
Top achievements
Rank 1
Li
Top achievements
Rank 1
Kaiven
Top achievements
Rank 1
Share this question
or