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.
Syncfusion Feedback

PdfLightTable Page Breaks in Middle of Row

Thread ID:

Created:

Updated:

Platform:

Replies:

101607 Nov 7,2011 04:15 PM UTC Nov 23,2011 03:44 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: PDF
Stephanie Pfefferkorn
Asked On November 7, 2011 04:15 PM UTC

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 05:43 AM UTC

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 02:54 PM UTC

That did the trick, many thanks!


Geetha M [Syncfusion]
Replied On November 23, 2011 03:44 AM UTC

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.

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

;