Reading Xaml

2 posts, 0 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 27 Sep 2010 Link to this post


    I'm getting crazy. I'm using Telerik LIB version but I'm not able to get databinding runnin in RichTextBox yet. In my application, I have a control qhen users may write an appointment via RichTextBox, that's running fine, altough I need to handle de richtextbox's DocumentcontentChanged event and manually update the view model object. Then, this text is stored in a DataBase in XamlFormat. In another usercontrol, I'm showing in readonly mode a list of appointmentes inside a ListBox control. In Listbox's ItemTemplate I'm using a RichTextBox with its IsReadOnly property set to true, I'm also using a XamlDataProvider to bind the view model's XamlText property to the RichTextBox, but is not showing any content. I've tried to do it programatically, that's using a UserControl as the ItemTemplate and on the Loaded event setting RichTextBox.Document manually with no results.

    Please, I need help!!!
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 29 Sep 2010 Link to this post

    Hello Daní,

    You seem to be having a rather complex scenario. It would be easier for us to reproduce your issue if you prepare a demo and get back to us.
    You might also want to check our reply to your other forum post first to see if it gives you an idea of a different approach.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top