pdf - asp.net, how do you separate a repeater using page break -


i'm trying create batch of letters using repeater far when convert letters pdf contents of letters written 1 after other on same page. want split repeater each letter has own page. how do this?

please me!! :)

usually when convert pdf, page breaks controlled standard css styles page-break-before:always , page-break-after:always applied html object. these styles can used either in css class applied element or inline in element style attribute.

so in repeater should (pardon pseudo code):

<asp:repeater> <itemelement>   <div style="page-break-after:always;">      <asp:label id="lblletter">   </div> </item> </asp:repeater> 

where lblletter set letter in server-side event.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -