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.

Templates

Thread ID:

Created:

Updated:

Platform:

Replies:

56228 Feb 12,2007 06:22 AM Feb 15,2007 05:36 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DocIO
Teddy Smith
Asked On February 12, 2007 06:22 AM

Hi,

I have a word template with a header and a footer plus some mail merge fields.

I use document.MailMerge.ExecuteGroup to fill the fields. Then I call document.Save to prompt a dialog allowing the user to save the file. Everything works great except for the fact that I lose the contents of the Header and the Footer! Be it images or text, it doesn't show...

Any ideas?

Thank you,
Jonathan

Melba Winshia [Syncfusion]
Replied On February 13, 2007 04:06 AM

Hi Jonathan,

I created a template with a header and footer plus some mail merge fields and filled the fields using document.MailMerge.ExecuteGroup. But I was not able to reproduce the issue [lose the contents of the Header and the Footer]. Here is the test sample that I used to test this issue.

MailMerge.zip

Here is the output of the sample:

Sample.doc

Could you please take a look at the sample above and kindly let me know if you still find any problem, if not could you please modify this sample so that I can reproduce the issue. This would help me in investigating this issue further.

Thanks,
Melba

Teddy Smith
Replied On February 14, 2007 08:33 AM

Hi,

I found what the issue was. The header and footer work fine as you say, however as soon as I add the € character to my footer (which is the case in my template), everything disapears!

How do I avoid that?

Thank you,
Jonathan

Melba Winshia [Syncfusion]
Replied On February 15, 2007 05:36 AM

Hi Jonathan,

I created a template by adding the € character to the footer. But I was not able to reproduce the issue [everything disappears]. Here is the test sample that I used to test this issue.

MailMerge.zip

Here is the output of the sample:

Sample.doc

Could you please take a look at the sample above and kindly let me know if you still find any problem, if not could you please modify this sample so that I can reproduce the issue. This would help me in investigating this issue further.

Thanks,
Melba

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.

;