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.

How to ensure some content are on same page

Thread ID:

Created:

Updated:

Platform:

Replies:

99106 Apr 27,2011 11:12 PM Apr 28,2011 05:06 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Gang Zhang
Asked On April 27, 2011 11:12 PM

I am trying to do the following:

1. merge some word document as header.
2. append text description (one line)
3. append image (the height is about 1/4 of a page).

and loop 2 and 3 till all item are displayed.

Right now I make a table with 2 rows, and first row is text, second row is picture, than a page break, followed by more tables for description/image.

I need to make sure each text description/image pair are on the same page, but they often got seperated (i.e one line of description on the bottom of a page followed by image on next page). The header document has a unknown height so I can't just put in page breaks to ensure description and image are on the same page.

Any other ideas?

Thanks
Gary


Poornima R [Syncfusion]
Replied On April 28, 2011 05:06 AM

Hi Gary,

Thank you for your interest in Syncfusion Products.

Regarding your query of “Keeping the description/image pair in a same page”, we have created the sample for your requirement. Please find the sample from the below link. Try running the sample and let us know if this helps you.

Sample:
Sample-1730556152.zip


Please let us know if you have any questions.

Regards,
Poornima




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.

;