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

document binding

1 Answer 94 Views
Book
This is a migrated thread and some comments may be shown as answers.
rastin
Top achievements
Rank 1
rastin asked on 21 May 2011, 02:30 PM
hi all
i have 2 xml file and an treeview and an flowdocumentscrollviewer when i select an item from treeview its text in xml read and show in flowdocumentscrollviewer .

first xml file:
<books Name="a" >
    <book Name="" Index="1" Media="1.mp3">
        
    </book>
    <book Name="b" Index="2" Media="2.mp3">
         
    </book>
</books>

second xml file:
<text>
  <mainText>
     text1
  </mainText>
  <mainText>
   text2
  </mainText>
  </text>

i want replace flowdocumentscrollviewer with an book interface.
how can do this?
thankful.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 25 May 2011, 04:32 PM
Hello rastin,

I believe that in your case it would be best to take advantage of the RadRichTextBox control. You can examine this demo example of how to integrate the RadBook control and the RadRichTextBox control.

This example will also help you to implement a scenario where your documents can be split into pages and placed inside the RadBook control taking advantage of the RadRichTextPageView control.

However in the RadRichTextPageView bookmarks and comments are the only annotations currently supported. You can examine this demo for more info on how to use them.

Also the online demo links are for Silverlight but the same approach can be used in WPF as well. I hope this info will help you. Let us know if we can further assist you.

All the best,
Tina Stancheva
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
Tags
Book
Asked by
rastin
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or