This question is locked. New answers and comments are not allowed.
I suspect that I am loading the js or css files in the wrong order or just doing something dumb, but after getting the grid working in no time at all I am starting to suspect I am just missing the mark here.
Here is the call from a div on my site.master, the code from the ascx file and the html output
[1]
<% Html.RenderPartial("MainMenu"); %>
[2]
[3]
It loads and looks okay, but no hover or sub-menus?
Thanks for any help on this, dave
Here is the call from a div on my site.master, the code from the ascx file and the html output
[1]
<% Html.RenderPartial("MainMenu"); %>
[2]
| <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> |
| <% Html.Telerik().Menu() |
| .Name("Menu") |
| .Items(menu => |
| { |
| menu.Add() |
| .Text("Auctions") |
| .ImageUrl("~/Content/Images/hammer.png") |
| .Items(item => |
| { |
| item.Add().Text("Search").Url("~/Auction/Find"); |
| item.Add().Text("Schedule").Url("~/Auction/List"); |
| }); |
| menu.Add() |
| .Text("Buy Now!") |
| .Items(item => |
| { |
| item.Add().Text("Search").Url("~/Sale/List"); |
| item.Add().Text("Sales").Url("~/Sale/Find"); |
| }); |
| menu.Add() |
| .Text("Registration") |
| .Items(item => |
| { |
| item.Add().Text("Login").Url("~/Account/Login"); |
| item.Add().Text("Register").Url("~/Account/Create"); |
| }); |
| menu.Add() |
| .Text("About Us") |
| .Items(item => |
| { |
| item.Add().Text("Company").Url("~/Company/AboutUs"); |
| item.Add().Text("Contact Us").Url("~/Company/ContactUs"); |
| }); |
| }) |
| .Render(); |
| %> |
[3]
| <!----- main navigation placeholder ----> |
| <ul class="t-widget t-reset t-header t-menu" id="Menu"><li class="t-item t-highlighted t-state-default"><a class="t-link" href="#"><img alt="" class="t-image" src="/Content/Images/hammer.png">Auctions<span class="t-icon t-arrow-down"></span></a><ul class="t-group"><li class="t-item t-state-default"><a class="t-link" href="/Auction/Find">Search</a></li><li class="t-item t-state-selected"><a class="t-link" href="/Auction/List">Schedule</a></li></ul></li><li class="t-item t-state-default"><a class="t-link" href="#">Buy Now!<span class="t-icon t-arrow-down"></span></a><ul class="t-group"><li class="t-item t-state-default"><a class="t-link" href="/Sale/List">Search</a></li><li class="t-item t-state-default"><a class="t-link" href="/Sale/Find">Sales</a></li></ul></li><li class="t-item t-state-default"><a class="t-link" href="#">Registration<span class="t-icon t-arrow-down"></span></a><ul class="t-group"><li class="t-item t-state-default"><a class="t-link" href="/Account/Login">Login</a></li><li class="t-item t-state-default"><a class="t-link" href="/Account/Create">Register</a></li></ul></li><li class="t-item t-state-default"><a class="t-link" href="#">About Us<span class="t-icon t-arrow-down"></span></a><ul class="t-group"><li class="t-item t-state-default"><a class="t-link" href="/Company/AboutUs">Company</a></li><li class="t-item t-state-default"><a class="t-link" href="/Company/ContactUs">Contact Us</a></li></ul></li></ul> |
Thanks for any help on this, dave