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

RTB in version 11.3

2 Answers 39 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Clifford
Top achievements
Rank 1
Clifford asked on 17 Sep 2013, 04:55 PM
I have tried to ask a question on another thread, but have not gotten any support, so am generating a new thread. I have seen the example, and have based a project on it, but some features are not the same as the sample so not working. This is at least partially due to the version, but I do not currently have the ability to work on a newer version:

1) CurrentEditingContext is not the same, being a property with the current context, as opposed to a class with header and footer context properties, and there is no Table context. This also means that there is no possibility of INotifyPropertyChanged working for showing the Table and Header/Footer ribbons. Not sure what the best approach is to deal with showing these menus. Probably had an old version that worked.

2) The sample code does not contain the implementation for the content of the Insert Merge Field, so not sure what would be considered ideal. In addition, all the Mailings buttons are all disabled so cannot be sure if implementation is working

I tried to included the project, but changing the extension from zip to gif did not work. Give me a way to send the project and I will.

Thanks so much for the help.

2 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 20 Sep 2013, 01:34 PM
Hello,

I am afraid I am having a hard time understanding you. I presume that by version 11.3 you mean Q3 2011, is that correct? Further, can you please elaborate what example you are referring to? We would also appreciate if you explain in details your scenario and the issue with CurrentEditingContext you are facing.

When it comes to the Mail Merge functionality, the buttons in the predefined UI will be disabled if there is no ItemsSource set to the current document. Furthermore, the drop-down from which insertion is performed is simply bound to the InsertMergeFieldEmptyCommand. Once the items source is set the button is populated. I suggest you review the help article of the feature for more information.

I hope this helps! I'm looking forward to your reply.

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Clifford
Top achievements
Rank 1
answered on 20 Sep 2013, 05:17 PM
Figured it out. Need to have instantiate
RadRichTextBox.Document.MailMergeDataSource.ItemsSource 
Tags
RichTextBox
Asked by
Clifford
Top achievements
Rank 1
Answers by
Petya
Telerik team
Clifford
Top achievements
Rank 1
Share this question
or