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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DOCIO

Thread ID:

Created:

Updated:

Platform:

Replies:

77227 Oct 21,2008 02:36 PM UTC Oct 22,2008 11:25 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Farouk Yew Abdullah
Asked On October 21, 2008 02:36 PM UTC

Hi,

I have 2 Qs on mailmerge.

Q1. How do I create a pagebreak after <>? I tried inserting page break in Words DOC but it does not work.

Q2. When I insert a fieldmerge and the format I choose "Title Case", it would failed to merge and the output the html of the page I am running at.

Regards



Bhuvaneswari P [Syncfusion]
Replied On October 22, 2008 11:25 AM UTC

Hi Farouk,

Thank you for your interest in Syncfusion products.

1. How do I create a pagebreak after <>?
I am afraid that I unable to reproduce both the issues. I am able to insert page break after the mail merge fields. Please refer the below code snippet to do so:
[C#]

foreach (Entity ent in doc.ChildEntities)
{
if (ent is WSection)
{
WSection section = ent as WSection;
foreach (WParagraph paragraph in section.Body.Paragraphs)
{
foreach (ParagraphItem item in paragraph.Items)
{
if (item is WField && (item as WField).FieldType == FieldType.FieldMergeField )
{
paragraph.AppendBreak(BreakType.PageBreak);
break;
}
}
}
}
}

Q2. When I insert a fieldmerge and the format I choose "Title Case"
I am able to merge fields which field formatted as Title style.

Here is the sample for both the cases:
http://websamples.syncfusion.com/samples/DocIO.Windows/F77227/main.htm

Please have a look into the sample and modify the sample to reproduce the issue in our end, so that we can investigate more on this issue and provide a solution.

Best Regards,
Bhuvana




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.

Warning Icon 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.Close Icon

;