I am working on an asp.net mvc web application which uses Bootstrap v2.0.4, and i use the following to display the value for a status field:-

@Html.DisplayFor(model => model.AssetState.DISPLAYSTATE, new { @class= Model.AssetState.DISPLAYSTATE.ToString() } )

Then i added the following inside my css file:-

.operational {

.Disposed {

But the above did not have any effect on the produced markup and the displayed value will always return the default color ?

Related posts

Recent Viewed