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

Dynamic Merge Field With Table

5 Answers 182 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
serkan
Top achievements
Rank 1
serkan asked on 04 Feb 2015, 08:18 AM
Hello,

I use ExpandoObject in RichTextbox for get and set mergefields dynamicly, but i have problem with tables. When i use merge fields in tables i can not give any inline. How can i use dynamic merge fields with table.

Thanx.

5 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 06 Feb 2015, 12:04 PM
Hello Serkan,

We are not aware of any problems related to working with merge fields and inlines inside table cells regardless if mail merge data source is from ExpandoObjects or not.

Could you provide more information on what is your overall goal and what you are trying to add to the table cell.

Regards,
Mihail
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
serkan
Top achievements
Rank 1
answered on 06 Feb 2015, 08:38 PM
Hello Mihail,

My ItemsSource in ExpandoObject, but when i inject Table it cant do anything. I thing it only inject strings but it cant inject Table.
0
Tanya
Telerik team
answered on 10 Feb 2015, 11:18 AM
Hello Serkan,

The default implementation of MergeField supports only plain text. In order to merge with more complex data you should implement custom MergeField. More detailed explanations about how to implement such scenario you can find in our Custom Fields article.

In addition, I am sending you a sample project which demonstrates how this could be achieved.

Let me know if you have any further questions.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
serkan
Top achievements
Rank 1
answered on 10 Feb 2015, 11:41 AM
Hello Tanya,

You dont understand me. I have Word Docx file, it doesn't created with radRichTextBox. It Created with MS Office Word, and i mailing in richtextbox with dynamic object (ExpandoObjexct). This arthicle can't answer my problem. Can we use only plain Text? 
0
Tanya
Telerik team
answered on 12 Feb 2015, 05:45 PM
Hello Serkan,

I am not sure if I understand your question. Do you mean that one of the fields in your document corresponds to a table in the data source? Please, send us an example file or images of the file you are working with. Any other information you think can be useful is also welcome.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
serkan
Top achievements
Rank 1
Answers by
Mihail
Telerik team
serkan
Top achievements
Rank 1
Tanya
Telerik team
Share this question
or