We followed the example given for changing the cells background color using conditional formating. How can we change the background color dynamically via code? Each user can set this value in their profile and we need it to change per their profile.
This is the styles we use:
So we want to change the "Red" from the c# code behind page.
Thanks in advanced for the help.
This is the styles we use:
<
local:DateConverter
x:Key
=
"dateconverter"
></
local:DateConverter
>
<
Style
x:Key
=
"UpperLimitStyle"
TargetType
=
"telerik:GridViewCell"
>
<
Setter
Property
=
"Background"
Value
=
"Red"
/>
</
Style
>
<
Style
x:Key
=
"LowerLimitStyle"
TargetType
=
"telerik:GridViewCell"
>
<
Setter
Property
=
"Background"
Value
=
"Yellow"
/>
</
Style
>
<
Style
x:Key
=
"NormalStyle"
TargetType
=
"telerik:GridViewCell"
>
</
Style
>
So we want to change the "Red" from the c# code behind page.
Thanks in advanced for the help.