views:

45

answers:

0

I have an rdlc report containing two sub-reports in the same row (side by side). I am using alternating color for rows (setting background-color to "=iif(RowNumber(Nothing) mod 2, "Gainsboro", "White")") but when the one report is shorter than the other (a common occurrence), the background color of the cell containing the sub-report has no color applied. Once the subreport is in place in the rdlc, there is no longer a background-color property for that cell (as it is no longer a text box).

Is there any way for the cell to match the color of the rest of the row to keep the alternating color scheme continuing?