This is a migrated thread and some comments may be shown as answers.
Build menu from codebehind
2 Answers 48 Views
This is a migrated thread and some comments may be shown as answers.
giuseppe
Top achievements
Rank 1
giuseppe asked on 25 Jul 2011, 10:00 AM
Hello,

I need to render a RadMenu from code behind; I would like to do simply calling a sub (will be responsible to generate the menu) but I did not find anything similar around.
The call will be something like:
BuildMenu()

This sub will do the following:

Define the root menu and build the submenu for each root.

How can I acheive this?
Thanks

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 25 Jul 2011, 02:45 PM
Hello Giuseppe,

You can try using the following  doumentation and call the Buildmenu function.
Working With Items Using Server-Side Code.

Thanks,
Shinu.
0
Kate
Telerik team
answered on 26 Jul 2011, 11:40 AM
Hi Giuseppe,

You could also refer to the following demo where it is exemplified how you can add RadMenu items using server-side code.

Best wishes,
Kate
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

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