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

Reading Xaml

1 Answer 47 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 27 Sep 2010, 11:37 AM
Hi,

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!!!

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 29 Sep 2010, 08:17 AM
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 http://www.telerik.com/community/forums/silverlight/richtextbox/several-issues.aspx to see if it gives you an idea of a different approach.

Regards,
Iva
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
RichTextBox
Asked by
Daní
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or