So is it possible , we have .something like
this ,radbook.load(_my image as byte[]) or as Image - so i i can convert before to use.
9 Answers, 1 is accepted
Thank you for contacting us.
You can load all your data in a list of custom business objects. Then you can bind it to the ItemsSource of RadBook instance.
Please preview our online examples where RadBook binding is shown.
We hope this information will help you.
Regards,
Ivan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
How about loading a pdf file as the source?
We developed a great framework for the Mine that we work for. I showed some of the Telerik controls to Management, now they would like to have their user manual on the Framework, using the radBook.
Any ideas. I dont want to convert the 200 pages to images and then load it. Any easier way?
Regards
Eduan
Currently we do not have a converter that converts a PDF file to a format that our controls understand (ex. XAML). We have plans to create such tool but currently I cannot bind to a specific release date. You can take a look at http://firstfloorsoftware.com/documenttoolkit/ and see if it is of any help. Let me know if you have additional questions or comments.
Best wishes,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Any more news on when PDF will be available as a source for the radbook?
Best,
Jurjen Ladenius
We are aware that support for such scenarios is critical and we are closely working with the RichTextBox team to allow integration between RadBook and RadRichTextBox.
The RichTextBox team have plans by the end of this quarter Q3 2010 to have WPF version of the RichTextBox. Therefore, by the end of Q3 2010 you will be able to load DOCX files in RichTextBox, integrate the RichTextBox with Book, search the text etc.
As for PDF, the short term plans are to have only export.
Best wishes,
Kiril Stanoev
the Telerik team
Can you please put some light on it?
Currently Silverlight does not support PDF. The only way to display a PDF document in a Silverlight application is to convert the PDF document to format understandable by Silverlight. In the video you mentioned the PDF document is sent to the server using the RadUpload control, where it is converted to a set of image files using Ghostscript. However the GhostScript does not work all the time. It also had dependency on the operating system and so on. Additionally, the method used to retrieve the number of pages in a PDF document did not open all the pdfs. Randomly it would just not open certain document. Therefore, we decided it would be better not to show an approach that we had no control on.
However, you can find attached a work in progress sample project and an article on the topic. Use them for reference and guidance on how the whole scenario might work. I cannot guarantee that it will work 100% so please do not use this approach in production code.
All the best,
the Telerik team
Thank you for the prompt reply.
I tried the SilverlightPDF project that you zipped to me. I cleaned it and rebuilt but when tried running it, got the below exception
A first chance exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll
The thread '<No Name>' (0x1188) has exited with code 0 (0x0).
The thread '<No Name>' (0x174) has exited with code 0 (0x0).
The thread '<No Name>' (0x153c) has exited with code 0 (0x0).
The thread '<No Name>' (0x16d0) has exited with code 0 (0x0).
The program '[2328] WebDev.WebServer40.EXE: Managed (v4.0.30319)' has exited with code 0 (0x0).
I am trying to debug it, if you any clue please let me know about.
Thank you for your time and consideration.
EDIT: Probably gs wasn't installed on my machine, trying again.
EDIT2: Ok, it went fine and I was able to upload a PDF and view it in Radbook, but the links in the PDF are NOT click-able.
Is there a way we can fix it?
Regards
Ravi Gupta
Since this application basically turns the PDF pages into images, you won't be able to click on any links. Therefore, in your case it is better to turn your PDF file into .doc or html files instead. This will allow you to use the RadRichTextBox to display the information in the RadBook control and still be able to click on any links inside the files.
Greetings,
Tina Stancheva
the Telerik team