This is a migrated thread and some comments may be shown as answers.

How to set node back colour server-side

1 Answer 26 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 14 Nov 2016, 01:43 PM

Hi,

I have a treeview that is built manually (no data-bind) using the metro theme. I'd like to set some node colours to red but neither of the two options below seem to have any effect?

ret.CssClass = "red";
 
ret.BackColor = Color.Red;

1 Answer, 1 is accepted

Sort by
0
Al
Top achievements
Rank 1
Iron
Iron
Iron
answered on 14 Nov 2016, 01:54 PM
Please ignore this - both methods work just fine it was just my silliness.
Tags
TreeView
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or