This question is locked. New answers and comments are not allowed.
Hi,
I have a little problem, im new using Telerik MVC controls, all controls are being very helpful in my development but i have a problem with CSS styles in my site. My company has a css stilesheet for menus, so i try to use this style using HtmlAttributes property, the code is:
I have a little problem, im new using Telerik MVC controls, all controls are being very helpful in my development but i have a problem with CSS styles in my site. My company has a css stilesheet for menus, so i try to use this style using HtmlAttributes property, the code is:
<% Html.Telerik().Menu() .Name("sub-nav") .HtmlAttributes(new {@class="tabs"}) .Items(menu => { menu.Add() .Text("Inicio") .Action("Index", "Empresas"); menu.Add() .Text("Reg. Visitas") .Action("Index", "Visitas"); ; }) .Render(); %>but the rendered HTML include t-widget, theader.... and tabs, i need only "tabs" styles. The generated code is:
<UL id=sub-nav class="t-widget t-reset t-header t-menu tabs" jQuery1295962360423="1"><LI class="t-item t-highlighted t-state-default">.....
And i need too to know how to set the style of the selected item.
Any help will be really helpful.
Thanks in advance.