I am working with MVC 4. I want to use model's value to set inline-style. But It didn't work?
style= "background-color:@item.CompanyColor"//It not work
style= "background-color:Black"//It work: background color is black now
And I can use this value to set color like that:
font color="@item.CompanyColor"//it work: font color changed
So, what is the problem here?