Hi,
I have the following problem: I use a stylesheet theme for my web application, and I have a Repeater control in which I have to change the CssClass of the item controls depending on what data does the row contain. However, I get a runtime error stating the fact that CssClass is not changeable when using stylesheet themes.
So I ended up with the Repeater containing a MultiView for each item in which I duplicate the normal ItemTemplate contents, changing the CssClass of the controls I want in each view, and then set the ActiveViewIndex of the MultiView to a view that contains the css class I need.
It seems to me that this involves some resource and speed overhead. Does anybody know a better solution to this problem ?
Thank you.