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 MVC version of TXTextControl.Web.MVC.DocumentViewer included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.

Version X18 SP3

Next Sample

© 2020 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We documents.