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

Menu rendering in chrome horizontally submenu

2 Answers 48 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.
Monah Abou Hattoum
Top achievements
Rank 1
Monah Abou Hattoum asked on 06 Dec 2011, 02:34 PM
Greetings,

i am facing strange behavior with telerik Menu, 
while i am testing how to use the menu extension i face the following problem
 @(Html.Telerik().Menu()
                    .Name("menu")
                    .Orientation(MenuOrientation.Horizontal)
                    .Items(menu =>
                    {
menu.Add().Text("Home").Action("Index", "Home");
                       menu.Add()
                            .Text("Tools")                           
                            .Visible(User.Identity.IsAuthenticated)
                            .Items(items =>
                            {
                                items.Add()
                                    .Text("Inventory")
                                    .Action("Details", "Inventory");
                                items.Add()
                                    .Text("Contracts")
                                    .Action("Index", "Contract");
                            });
}))

if i run this example in chrome browser and when i hover over tools , i see the sub menus displayed horizontally
while in firefox or IE i see the sub menus displaying vertically

how to control the behavior of menu sub menus?

thanks in advance
regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 06 Dec 2011, 02:45 PM
Hi Monah,

Your Menu declaration works as expected on my side in all browsers. Please check for some custom CSS styles or specific HTML that may be causing the problem.

Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Monah Abou Hattoum
Top achievements
Rank 1
answered on 06 Dec 2011, 04:15 PM
greetings,
thanks for the fast reply
yes you are right

thanks so much for the tip
regards
Tags
Menu
Asked by
Monah Abou Hattoum
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Monah Abou Hattoum
Top achievements
Rank 1
Share this question
or