We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Mail merge with check box form field

Thread ID:

Created:

Updated:

Platform:

Replies:

104050 Jun 18,2012 08:59 AM Mar 26,2014 11:41 AM ASP.NET Web Forms (Classic) 6
loading
Tags: DocIO
Arturo Buonanni
Asked On June 18, 2012 08:59 AM

Is it possible to have a check box form field inside a document whose state (checked/uncheckd) is bound to a database merge field?
I need the checkbox form field to survive the merge process and be presente in the output document so that the document user may change the checkbox state if needed.

Thanks for your help.

Madhankumar K [Syncfusion]
Replied On June 22, 2012 07:22 AM

Hi Arturo,

Thank you for your interest in Syncfusion products.

We could not able to perform mail merge with check box form field in the document because mail merge operation can be done using table column name and mail merge field name.

We have prepared the sample for changing the check box state during mail merge operation using Essential DOCIO.

Please do find the sample from the attachment. Try running the sample and let us know if this helps you.

Please let us know if you have any other questions.

Regards,
Madhankumar



Sample_eb7fb524.zip

Arturo Buonanni
Replied On July 11, 2012 08:43 AM

I've examined your sample and found it very userfull.
If I understand it well, you have attached a new event hander to the MailMerge event in wich you set the checkbox state based on the text to be put in "Choice1" MailMerege fields.
This will work but will also fill the mail merge field "Choice1" in the final document. Am I correct?
How do I remove the "Choice1" field from the result (it's useless as it would be a duplicate of the checkbox)?

Ramkumar M [Syncfusion]
Replied On July 12, 2012 05:01 AM

Hi Arturo,

Thank you for your update.

We have modified the sample to remove duplicate "Choice1" field from result by checking the FiledName property of MergeFieldEventArgs in the mailmerge event. Please do find the sample from the attachment. Try running the sample and let us know if this helps you.

Please let us know if you have any other questions.

Regards,
Ramkumar



Sample_90ddce51.zip

Arturo Buonanni
Replied On July 13, 2012 10:15 AM

I've looked into this new sample and found it answers all my questions.
It's very helpfull.

Thank you very much for your quick reply.

Ramkumar M [Syncfusion]
Replied On July 14, 2012 03:36 PM

Hi Arturo,

You're welcome. Please let us know if you have any other questions.

Regards,

Ramkumar


Badri
Replied On March 26, 2014 11:41 AM

I am unable to download the samples provided here. can you please re-attach them?


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;