The mail merge functionality provided by the DevExpress ASP.NET Rich Text Editor (ASPxRichEdit) enables you to bind the control to an external data source and then preview dynamic content right in the opened template document, prior to performing the final mail merge. This feature can be useful for a variety of business requirements, such as composing, previewing and generating catalogs, reports, or personalized letters.
To specify a data source, the DataSourceID (or DataSource) property can be used.
The ASPxRichEdit also provides a specific API allowing you to control mail merge operations programmatically.
The ViewMergedData property specifies whether to display field results or field codes in a mail-merge document.
The MailMerge method (with a set of overloads) initializes the mail merge process and generates the resulting document containing the merged information.
The CreateMailMergeOptions method creates an object for specifying the options used in mail merge operations.