I have existing web application built on .NET Framework 4.5.2, we have css file which affects all views that make use of a main layout (_Layout.vbhtml) and (_XNavigational.vbhtml) for Navigational panel.
I want different background colors depending on the user type in the (ul) section
Note: UserType can be obtained from Model.
class="x-navigation" x-Navigation is already part of css file where background has been set already.
Existing Code: _XNavigational.vbhtml:
@If Model IsNot Nothing Then
@<text>
<ul class="x-navigation">
.....
.....
</ul>
</text>
End If