Customization of PDFViewer

6 posts, 0 answers
  1. Ritwick
    Ritwick avatar
    11 posts
    Member since:
    Sep 2012

    Posted 11 Sep 2012 Link to this post

    We are looking for the following customization -
    1. Removing the toolbar but extending the functionalities through command binding to buttons elsewhere in the application.
    2. Change the UI look of the scroll bar used for the viewer.
    3. Touch support for zooming/panning.

    How much the existing control supports the above customization? I have learnt that you provide source code. Will it be possible to do them ourselves by modifying the code?
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 12 Sep 2012 Link to this post

    Hi Ritwick,

    1. The toolbar is not part of RadPdfViewer. The toolbar used in the demos is a RadToolBar with RadButtons. The buttons are using commands in order to execute the functionality they are responsible for. All commands that are supported by RadPdfViewer can be found in the Commands property of the control.

    2. Currently, the only way to change the look of the scroll bars is to override the control template of RadPdfViewer. However, if it will fit your needs we can expose properties for Horizontal and Vertical scroll bar in order to change their style without changing the control template.

    3. In the upcoming SP2, expected in less than a week, RadPdfViewer will have basic touch support (zooming and panning).

    We are hoping that this answer your questions.


    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Jeff
    Jeff avatar
    2 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    I just downloaded 2012_2_0912, does this version have the basic touch support implemented?  I also downloaded 2012_2_0924.  Thanks for the update.
  5. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 28 Sep 2012 Link to this post

    Hello Jeff,

    Both version you mentioned should support touch. If you encounter any issues, we will appreciate the feedback.


    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.

  6. Jeff
    Jeff avatar
    2 posts
    Member since:
    Sep 2012

    Posted 28 Sep 2012 Link to this post

    Great, did get it to pan and zoom with touch.  However, I am having some bad performance issues using the viewer that maybe you can help with.  Currently I am using XAML to set the document source and have no code behind doing anything else.  I am running on an i7 with 16GB ram under Windows 7 64 bit.  The file I am using is only 260kb and I would be happy to send it to you to see if you can replicate the problem I am seeing.  It is only one page, mainly graphics.  It takes a few seconds to load the page and then panning is almost impossible.

    I tried loading another file which is larger and do performance issues there also, but not quite as bad.  That document is mostly text based.

    Thanks for any help that you can provide.
  7. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 01 Oct 2012 Link to this post

    Hi Jeff,
    Thank you for the feedback. It will be great if you can send us this file in order to investigate the issue. 

    In order to submit the file, you can open a support ticket by logging into your account at http://www.telerik.com and following these steps:

    1.       From your account, choose "Contact Support Team";

    2.       Click "Submit Ticket" and fill in the required information about the product and version of the control your inquiry is about.

    3.       At the very bottom, choose “Attach file” – you can see that the size limitation is 20 MB. Mind the allowed file types – in your case you should compress the file and attach it as a zip.

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready