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

Creating Menu & Context Menu dynamically

1 Answer 97 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Sachidanand
Top achievements
Rank 1
Sachidanand asked on 24 Aug 2011, 11:22 PM
I am new to Telrik & trying to create a simple Navigation Tree dynamically.
I have 2 table one used to create the Navigation Tree ("application" table) & other storing values for the context menu ("action" table). Action table rows are relative to specific item in application table (& not common for all as I found in most of the samples).
In short I am trying to generate specific set of Context Menus for every selection.
I was able to create the navigation tree. But wasnt able to attach the specfic row collection (from action table) to the corrosponding navigation tree item.
I search thru the samples & demos but most of are based on hard coded values for Contex Menu. Can somebody provide How can I achieve this?

Can anybody pls throw some light if this is achievable & if can provide some sample examples.
Thanks

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 30 Aug 2011, 08:46 AM
Hello Sachidanand,

I am not quite sure that I completely understand your scenario but I believe that the following demo and forum posts (demonstrating how you can bind the menu from code behind) will help you start:

Regards,
Kate
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Menu
Asked by
Sachidanand
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or