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

DataBinding RadRichTextBox to the ViewModel from DataBase

2 Answers 80 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Oscar
Top achievements
Rank 1
Oscar asked on 25 Mar 2014, 04:45 PM
Hello Telerik team
Let’s say I want to do a mail merge using your awesome WPF RadRichTextBox, but as you know, a regular mail merge will include data coming from a database.
i have search, and search your documentation and forum,  but the provided information is very vague , even considering that most users will use the mail merge feature with data coming from a database.
And assume i have an Observable Collection (or BindableCollection for that matter) on the view model 'public ObservableCollection MyCollection"
Considering all your dataProviders and such (yes I also read about that) , how i can read data from my database into the radTextBox so i can do mail merge
The data is served by Entity Framework 6, Unit of work, Cliburn Micro and all of that, which actually does not matter because the important thing is the Observable Collection has the data i want to be bound to the telerik RadRichTextBox

Regards

2 Answers, 1 is accepted

Sort by
0
Oscar
Top achievements
Rank 1
answered on 25 Mar 2014, 05:19 PM
in Caliburn Micro i can
http://grab.by/vs4i
http://grab.by/vs4I
in case i need to
0
Oscar
Top achievements
Rank 1
answered on 25 Mar 2014, 09:27 PM
never mind, i got it

http://grab.by/vsIW
Tags
RichTextBox
Asked by
Oscar
Top achievements
Rank 1
Answers by
Oscar
Top achievements
Rank 1
Share this question
or