Alternating Row colors in a VS 2008 .rdlc table
-
So I'm building several reports within my application and I wanted to have the functionality that the visual studio report builder gives me. I'm currently using Report Builder v8.0 because I have to construct for the 2.0 framework. Anyway, here is my problem: I want to do alternating row colors within my table. In the backcolor property I have the function
=iif(RowNumber("DataSet_GetPersonData") Mod 2, "BurlyWood", "White")
If I put this in the backcolor property of the table, the rows inherit only the second color, "white." If I put this in the backcolor property of the row instead, I get the desired look (first row brown, second row white, etc) except the first column doesn't inherit either of the colors. Instead it remains transparent. I've modified the scope several times, using "nothing" and "table 1" instead of "DataSet_GetPersonData" getting the same results each time. What the heck am I doing wrong?? :confused: :doh:
"The shortest distance between two points is under construction" -Noelie ALtito
-
So I'm building several reports within my application and I wanted to have the functionality that the visual studio report builder gives me. I'm currently using Report Builder v8.0 because I have to construct for the 2.0 framework. Anyway, here is my problem: I want to do alternating row colors within my table. In the backcolor property I have the function
=iif(RowNumber("DataSet_GetPersonData") Mod 2, "BurlyWood", "White")
If I put this in the backcolor property of the table, the rows inherit only the second color, "white." If I put this in the backcolor property of the row instead, I get the desired look (first row brown, second row white, etc) except the first column doesn't inherit either of the colors. Instead it remains transparent. I've modified the scope several times, using "nothing" and "table 1" instead of "DataSet_GetPersonData" getting the same results each time. What the heck am I doing wrong?? :confused: :doh:
"The shortest distance between two points is under construction" -Noelie ALtito
UPDATE: Turns out when you are developing web applications you should test your product on browsers that don't begin with Mozilla and end in Firefox. Works fine in I.E. I lose. :(
"The shortest distance between two points is under construction" -Noelie ALtito