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

Customization of PDFViewer

5 Answers 179 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Ritwick
Top achievements
Rank 1
Ritwick asked on 11 Sep 2012, 12:29 PM
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?

5 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 12 Sep 2012, 10:55 AM
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.

0
Jeff
Top achievements
Rank 1
answered on 28 Sep 2012, 12:31 AM
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.
0
Kammen
Telerik team
answered on 28 Sep 2012, 11:09 AM
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.

0
Jeff
Top achievements
Rank 1
answered on 28 Sep 2012, 04:17 PM
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.
0
Kammen
Telerik team
answered on 01 Oct 2012, 01:03 PM
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.

Tags
PDFViewer
Asked by
Ritwick
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or