none
Problem with Rectangle PageBreakAtStart RRS feed

  • Question

  • Hello,

    I have a ReportViewer witch contains 2 rectangles. I want the second rectangle to begin from a new page, so I changed the second's rectangle property PageBreakAtStart = true.

     

    When executing, it's not working. The second rectangle begins from the point in witch the first rectangle finished.

    I tried also setting the first rectangle property PageBreakAtEnd = true. Doesn't work eighter!

     

    Am I doing something wrong or what???

     

    Thank's in advance for your answer.

    Thursday, March 29, 2007 5:04 PM

Answers

  • Hello again,

     

    I found a workaround for my problem. I made for each rectangle a different DataSource, so that I could create a SubReport with the contents of the second rectangle. Seems it's the only way that the reportViewer actually inserts a page break before a rectangle at rendering-time.

     

    Also, I noticed that if I had an expression for the Hidden property of the second rectangle (witch is now in a separate SubReport, as I sad), again, the PageBreakAtStart property doesn't work. So I had to set the Hidden property for every report item in the rectangle (at the first level, of course)...

     

    So please, mister from the Microsoft spcialists team of ReportViewer, make sure you fix this problem also in the update package for the ReportViewer.

    And I don't undestand why so many unanswered questions... Do something about it!!!

     

     

    Friday, March 30, 2007 2:38 PM

All replies

  • Hello again,

     

    I found a workaround for my problem. I made for each rectangle a different DataSource, so that I could create a SubReport with the contents of the second rectangle. Seems it's the only way that the reportViewer actually inserts a page break before a rectangle at rendering-time.

     

    Also, I noticed that if I had an expression for the Hidden property of the second rectangle (witch is now in a separate SubReport, as I sad), again, the PageBreakAtStart property doesn't work. So I had to set the Hidden property for every report item in the rectangle (at the first level, of course)...

     

    So please, mister from the Microsoft spcialists team of ReportViewer, make sure you fix this problem also in the update package for the ReportViewer.

    And I don't undestand why so many unanswered questions... Do something about it!!!

     

     

    Friday, March 30, 2007 2:38 PM
  • I have same problem in the rectangle about page break when I set the hidden property.  I want to know this is a bug or by design?

     

    I agree with you that here no much people to reply or answer question.

    Thursday, July 26, 2007 3:19 PM
  •  

    I am having a similar problem when setting the hidden property of a List. Any solution to this problem yet?
    Monday, December 17, 2007 6:44 PM