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

[Solved] multi level mvc menu bound to datatable

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.
Melik
Top achievements
Rank 1
Melik asked on 11 Nov 2011, 05:34 PM
I'm trying to find an MVC sample of a hierarchical menu bound to a datatable same as the ASP.NET AJAX sample of the rad menu below
http://demos.telerik.com/aspnet-ajax/menu/examples/programming/hierarchicalbinding/defaultcs.aspx

The MVC samples only seem to have a 2 level menu, but what if I want to dynamically create the menu based on a DB table that uses a node/parentnode relationship?

thx,
Melik

2 Answers, 1 is accepted

Sort by
0
Dan Glascott
Top achievements
Rank 1
answered on 21 Nov 2011, 10:19 PM
I'd like to do the same thing. Any hlep would be appreciated. We have been using the .NET controls in web forms but at moving to MVC.
0
Georgi Krustev
Telerik team
answered on 22 Nov 2011, 12:58 PM
Hello Dan Glascott,

 
Thank you for contacting us. In order to achieve your goal you will need to use Binding to Model functionality of the Menu UI component. I will suggest you check this online demo and the help article devoted on the same matter.

Regards,
Georgi Krustev
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
Tags
Menu
Asked by
Melik
Top achievements
Rank 1
Answers by
Dan Glascott
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or