In several applications, it is required to render or to remove a complete text block in a template based on specific conditions.
The RemoveEmptyBlocks property of the MailMerge class is set to true. In case, the data for the merge block conditional is empty, the complete merge block gets removed, if RemoveEmptyBlocks is set to true.
This demo uses the MailMerge class and the MVC version of TXTextControl.Web.DocumentViewer included TX Text Control .NET Server for ASP.NET.
© 2020 Copyright Text Control GmbH. All rights reserved.