document binding

2 posts, 0 answers
  1. rastin
    rastin avatar
    14 posts
    Member since:
    May 2011

    Posted 21 May 2011 Link to this post

    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 Name="b" Index="2" Media="2.mp3">

    second xml file:

    i want replace flowdocumentscrollviewer with an book interface.
    how can do this?
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 25 May 2011 Link to this post

    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
Back to Top