This example uses the Rich Text Editor control and its Mail Merge functionality to generate a product catalog report based on a master-detail template.
This project uses a two-level Categories-Products data source retrieved from nwind.xml.
Rich Text Editor supports master-detail mail merge templates. TableStart:Name and TableEnd:Name merge fields define master and nested detail regions. Region names should match group or table names in your data source.
This example loads the template to the RichEditControl instance located in the Main Template tab.
This example uses the following APIs to specify the data source:
- RichEditControl.CreateMailMergeOptions() method - initializes an object with mail merge settings.
- RichEditMailMergeOptions.DataSource - sets the data source.
- RichEditControl.MailMerge method - accepts the settings object as a parameter.
In this project, the RichEditControl.MailMerge method exports the result to the RichEditControl instance located in the Result tab.
(you will be redirected to DevExpress.com to submit your response)


