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.

PdfLightTable Page Breaks in Middle of Row

Thread ID:

Created:

Updated:

Platform:

Replies:

101607 Nov 7,2011 11:15 AM Nov 22,2011 10:44 PM ASP.NET Web Forms (Classic) 3
loading
Tags: PDF
Stephanie Pfefferkorn
Asked On November 7, 2011 11:15 AM

How can I prevent a pdflighttable from having a page break in the middle of a row? I'm using a datatable as a datasource, and I never know how many pages the lighttable will span.

I've tried PdfLayoutBreakType.FitPage in the PdfLightTableLayoutFormat. Also using PdfLayoutType.Paginate.

Thanks!


Geetha M [Syncfusion]
Replied On November 8, 2011 12:43 AM

Hi Stephanie,

Thank you for your interest in Syncfusion products.

By default, rows exceeding current page will split across pages and the remaining portion would be drawn in the next page. If you intend to move the entire row to the next page, you need to set "AllowRowBreakAcrossPages" property as false.

I have placed a simple sample in the following link:
F101607.zip

Please try this and let me know if you have any questions.

Regards,
Geetha


Stephanie Pfefferkorn
Replied On November 22, 2011 09:54 AM

That did the trick, many thanks!


Geetha M [Syncfusion]
Replied On November 22, 2011 10:44 PM

Hi Stephanie,

Thank you for the update.

Please let me know if you have any questions.

Regards,
Geetha


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.

;