This is a migrated thread and some comments may be shown as answers.

Minimum setup for the Menu control

1 Answer 57 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin Nyborg
Top achievements
Rank 2
Martin Nyborg asked on 04 Mar 2010, 12:25 PM
I am unable to get the menu working.

I can create the menu
 
 .Items(menu => menu.Add() 
                               .Text("Search") 
                               .ImageUrl("~/Content/Icons/search.png") 
                               .Items(item => 
                                          { 
                                              item.Add().Text("Søg").Action("Index", "SearchSimple"); 
                                              item.Add().Text("Udvidet").Action("Index", "SearchExtended"); 
                                              item.Add().Text("Expert").Action("Index", "SearchExpert"); 
                                          })) 
.Render(); 

And have included this:
 
 <link href="../../Content/telerik.common.css" rel="stylesheet" type="text/css" /> 
  <link href="../../Content/telerik.examples.min.css" rel="stylesheet" type="text/css" /> 
  <link href="../../Content/black.css" rel="stylesheet" type="text/css" /> 
   <script src="../../Scripts/telerik.menu.min.js" type="text/javascript"></script> 
 
It looks nice but when I click on the drop-down arrow nothing happens. Any suggestions 

I have tried to attach a small 95kb .png file but I can't see the file - why? 

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 04 Mar 2010, 12:47 PM
Hello Martin Nyborg,

This help topic lists the required steps.

Regard,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
Martin Nyborg
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Share this question
or