In several applications, it is required to render or to remove a complete text block in a template based on specific conditions.

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 X19 SP3 (29.0.302.500)

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.

Next Sample

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