The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a .DOC template file that has the following fields, for some reason the { MERGEFIELD "Company_Name" } that immediately follows the IF is " ", instead of empty "". The { MERGEFIELD "Company_Name" } at the end of the statement is empty. I can confirm that the value passed to DocIO is an empty string.
BPBhuvaneswari P Syncfusion Team April 8, 2009 11:35 AM UTC
Hi Tim,
Thank you for your inquiry.
1. Regarding field update:
Field value updated only after opened in MS word and update the fields (Select all (Ctrl+ A) and then press F9). Fields values and condition will not be executed by programmatically it can be done only after opened in MS word and giving field update. This is the behavior.
2. Merge field adding one extra space when field inside the if condition I am able to reproduce the issue. The issue "Merge field adding one extra space when field inside the if condition“ reported by you is suspected to be a defect. We have forwarded this to our Development Team for further analysis. We will update you with our Development Team’s response in two business days.
Also we have updated the same in your direct trac incident. Please follow up it for the further questions.