bind pdf viewer inside book control

8 posts, 0 answers
  1. mahmoud
    mahmoud avatar
    4 posts
    Member since:
    Jun 2008

    Posted 02 Mar 2012 Link to this post

    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 ?


  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 06 Mar 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. xiu
    xiu avatar
    5 posts
    Member since:
    Sep 2011

    Posted 14 Mar 2012 Link to this post

    can you give a demo  how  pdf viewer working with book's pagetemplate?
  5. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 15 Mar 2012 Link to this post

    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 >>
  6. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 22 May 2012 Link to this post

    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
  7. Li
    Li avatar
    1 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2012 Link to this post

    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 
  8. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 17 Sep 2012 Link to this post

    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.

  9. Kaiven
    Kaiven avatar
    1 posts
    Member since:
    Apr 2013

    Posted 19 Apr 2013 Link to this post

    thx .,how about this pdf viewer written in c#
Back to Top
DevCraft banner