Is there a better way to do this?
I have an HTML helper extension method that checks if the current tab menu is the the selected one and then chooses .selected css class or not. I put the html.IsSelected link in each li as
<li class="<%=Html.IsSelected(string a, string b)%>" >
where a is the tab name and b is ViewData assigned.
is this clean or is there a better way?