UPDATE
This turned out to be an issue on my end with my view model. The code below works fine.
I have scoured the forum but can't seem to find a full example of how to use a RichTextBox with MVVM. I am trying to import and export to/from the RichTextBox from my view model but it is not working. Here is my code:
where 'MyString' is a string property in my view model. However, nothing shows up in my RichTextBox. Any ideas as to what I'm doing wrong?
Tks.
This turned out to be an issue on my end with my view model. The code below works fine.
I have scoured the forum but can't seem to find a full example of how to use a RichTextBox with MVVM. I am trying to import and export to/from the RichTextBox from my view model but it is not working. Here is my code:
<
telerikFormatProvider:TxtDataProvider
RichTextBox
=
"{Binding ElementName=myRichTextBox}"
Text
=
"{Binding MyString, Mode=TwoWay}"
/>
<
telerik:RadRichTextBox
Name
=
"myRichTextBox"
/>
Tks.