It there a way to put in a foced page break in detail

14 posts, 1 answers
  1. Janus Pedersen
    Janus Pedersen avatar
    34 posts
    Member since:
    Dec 2008

    Posted 12 Feb 2009 Link to this post

    Hi
    Is there a way to put in a page- break in detail. I don`t mean to put the property PageBreak to After and so, but to put in a page-break element in the detail.items.add(...)- metode.

    I am using VS2008, telerik Q3 2008 the newest officel build.

    It shold force the page to break and I will use it to control the pages att runtime.

    Janus S. Andersen
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Feb 2009 Link to this post

    Hello Janus,

    In Telerik Reporting, page breaks are per report section only and you cannot explicitly force a page break within a section.

    Kind regards,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Janus Pedersen
    Janus Pedersen avatar
    34 posts
    Member since:
    Dec 2008

    Posted 12 Feb 2009 Link to this post

    Thanks Steve
    I will make this as a wish.in a newer version.

    Janus S. Andersen
  5. Roy Zolnoski
    Roy Zolnoski avatar
    2 posts
    Member since:
    Aug 2007

    Posted 07 May 2010 Link to this post

    Is there any way to do this in the Q1 2010 release? If not is there a plan to include a PageBreak control in a future release or some other way to control the pagination of reports?
  6. Janus Pedersen
    Janus Pedersen avatar
    34 posts
    Member since:
    Dec 2008

    Posted 08 May 2010 Link to this post

    It is not in 2010 release but it is in the sektion. Break after.

    If you put in a dummy section and set the the BreakAfter (it is a property on the section control). That will make a page break. Remember to set the height of the section to somthing small. When you will insert the section then just set the dock to TOP on section and insert it in the report..

    Best Regaards
    Janus S. Andersen
    GMCB | Carl Bro
    Denmark
  7. Edward
    Edward avatar
    3 posts
    Member since:
    Aug 2011

    Posted 25 Aug 2011 Link to this post

    Janus;

    How do you put in the "dummy section".  I really need a page break in a specific areas of a very long report in the detail section.
    Thank you,
    Edward
  8. Squall
    Squall avatar
    174 posts
    Member since:
    Feb 2011

    Posted 26 Aug 2011 Link to this post

    Edward:
    I suppose that by dummy section Janus meant a report group without grouping.
    SN
  9. Edward
    Edward avatar
    3 posts
    Member since:
    Aug 2011

    Posted 26 Aug 2011 Link to this post

    Yep! Adding additional group header sections that contain what one would have on a page and set page breaks for that section is the solution.  Just add groups form the Data section of the properties with the report selected.
    Thanks peeps!
    Edward
  10. Janus Pedersen
    Janus Pedersen avatar
    34 posts
    Member since:
    Dec 2008

    Posted 27 Aug 2011 Link to this post

    Hi
    It is easy to use the designer and add a section in the report. Just click on the section and set the property. In my project I just add a section in the code and in this section set the pageBreak property. But remember to set the with and hight to somthing small and set dock to top. The dock to top will force the section to dock top and hopefuly put it to the end off the report.

    Remember that the report builing is event driven and it is a way to put in the section and there by the PageBeak in a Event. I have build a realTime report design where I just put in the header of the report and then the dataheader and bind the data by setting the source for the hole report. For each feild in the report I have all the rules for this field and for the report the rest. I just put in grupping att runtime. It is smart to build a runtime lib to make report. Use the report designer to learn the code for the report, but make a framework for your firm to build simpel small report.

    Best Regaards
    Janus Pedersen
    Denmark 
  11. Edward
    Edward avatar
    3 posts
    Member since:
    Aug 2011

    Posted 27 Aug 2011 Link to this post

    Janus;

    Thank you for your additional comments.
    For me, this report, I have page sized dimensions for the groupheadersection1, groupheadersection2 and groupheadersection3 while the groupfootersections are unused and tweaked to small to notice.

    Not sure what you mean by docking.  Guess I have learned about that yet.  I know the concept, but have not seen in any properties that I've been working with yet. Sounds handy.

    thanks again,

    Ed
  12. Michael
    Michael avatar
    20 posts
    Member since:
    Jul 2010

    Posted 22 Jan 2013 Link to this post

    I may be being really thick here, but how does adding a new group section help me insert a page break at a specific point within the detail section? If I add a new group section it just sits above the detail section - I can't move it to the point where I need a page break to be inserted, can I?

    This is a really frustrating issue, made worse by the fact that if I shuffle objects down the page to try to force them on to the next page, they won't push objects underneath them down as well, so you soon end up with a complete mess of objects stacked on top of each other.  The layout designer really leaves a lot to be desired!
  13. Georges
    Georges avatar
    1 posts
    Member since:
    Jun 2016

    Posted 07 Jun in reply to Michael Link to this post

    Hi, sorry to bring the post back to life but i have the same issue, Janus you say:
    "It is easy to use the designer and add a section in the report"

    But how do you do that, i've found how to add groups, but groups just add headers and footers, but i need an independant section, i have my report divided in three parts (summary, details, annexes). Today the three sections are in the main detail section, but i need the annexe to be in a separated page. Can you tell me how to do that ?

    "I will make this as a wish.in a newer version"

    After 7 years did you add it ?

    Thanx

  14. Katia
    Admin
    Katia avatar
    301 posts

    Posted 08 Jun Link to this post

    Hello Georges,

    Depending on how you want to treat the data in your report you can place it in different report sections. For example, if it needs to be grouped - add a group and place the data into Detail section; if it needs to be displayed as a header or footer - place it in header or footer sections.
    The specifics of different sections are described in Report Structure help article.

    In most common scenario, annexes are placed at the end of the main document. Thus, you can place it in ReportFooter or GroupFooter section of the group that is the highest level in hierarchy and set PageBreak=Before for this section to show the annex on a new page.

    Note, that page breaks will appear only when you view the report in Print preview - Interactive vs. Print Layout.


    Regards,
    Katia
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  15. Doug
    Doug avatar
    22 posts
    Member since:
    Feb 2005

    Posted 16 Nov Link to this post

    Another tip that can help in certain cases is to use a Panel object to encapsulate the objects within the same Report Section you want to "KeepTogether" on one page.  If there isn't enough room on the page for the Panel contents, it will all move to the next page (provided the contents are not longer than one page in total).

Back to Top
DevCraft banner