K
K Viltersten
I'm reworking a repeater that previously used
if (e.Item.ItemType == ListItemType.Item)
css += "plain";
else
css += "alter";
Some of the rows will now be hidden, which
creates the ugly appearance of several
consecutive and visible rows to share the
same css (e.g. alter).
I need to manipulate the repeater to
disregard certain rows upon binding the
data. So to speak - skip a line.
One way to do this would probably be a
static flag, the status of which would
change with every non-hidden row but that's
a) ugly,
b) non object oriented,
c) blah-ish.
Any suggestions?
if (e.Item.ItemType == ListItemType.Item)
css += "plain";
else
css += "alter";
Some of the rows will now be hidden, which
creates the ugly appearance of several
consecutive and visible rows to share the
same css (e.g. alter).
I need to manipulate the repeater to
disregard certain rows upon binding the
data. So to speak - skip a line.
One way to do this would probably be a
static flag, the status of which would
change with every non-hidden row but that's
a) ugly,
b) non object oriented,
c) blah-ish.
Any suggestions?