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

[Solved] Areas Menu Telerik

1 Answer 27 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.
Gian
Top achievements
Rank 1
Gian asked on 05 Sep 2012, 05:19 PM
Hi, i have a project in mvc3, this project have 2 areas, Gen and Apl, mi menu telerik esta asi:


@(Html.Telerik().Menu()
                    .Name("Menu")
                    .Items(menu =>
                    {
                        menu.Add()
                            .Text("Generales")
                            .Items(item =>
                            {
                                item.Add().Text("Actividades").Action("Index", "Actividad", new { area = "Gen" });
                                item.Add().Text("Agencias").Action("Index", "SucUrsal", new { area = "Pla" });                    


                            });                        
                    })                    
            )


when i run the project, all good, but i open and  click the submenu opcions, exist a Exception the Null
execpcion

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 12 Sep 2012, 04:20 PM
I have the exact same problem - The menu renders initially but when I click on a menu item in an Area, I get the null exception after leaving the area controller, and trying to render the view menu
Tags
Menu
Asked by
Gian
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or