Skip to content

DevExpress-Examples/winforms-richedit-create-a-master-detail-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Text Editor for WinForms - Use Mail Merge to Create a Master-Detail Report

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.

result

Implementation Details

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.

winforms richedit template tab

This example uses the following APIs to specify the data source:

In this project, the RichEditControl.MailMerge method exports the result to the RichEditControl instance located in the Result tab.

winforms richedit template tab

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Create master-detail documents with the use of the RichEditDocumentServer and DOCVARIABLE field.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages