Sections are sequentially rendered, where each new section top borders draw over the previous section bottom borders, as borders are not taken into consideration when the layout is created to avoid misplacing items. In addition borders are drawn half-in, half-out, e.g. 2px border will be drawn 1px inside and 1px outside the section/item without adding any padding or margin.
For your scenario we can recommend the following approach illustrated in the attached sample report definition. In the Detail
section we have added a Panel
item with set conditional formatting rule to alternate its color based on the RowNumber
. The Detail
section has set Padding
properties to move the Panel
item in it 1px from the top and thus it is not drawn over the above section bottom border (by default the section's background is transparent).
I hope this helps.
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.