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

Radmenu creation from codebehind

1 Answer 70 Views
Menu
This is a migrated thread and some comments may be shown as answers.
sreedhar ambati
Top achievements
Rank 1
sreedhar ambati asked on 02 Mar 2011, 06:33 AM


Table

menuid   navigationurl  text           parentmenuid    isheadermenu
1 NULL InternetSites NULL True
2 NULL Yahoo 1 False
3 www.yahoo1.com Yahoo1 2 False
4 www.yahoo2.com Yahoo2 2 False
5 NULL Google 1 False
6 www.google1.com Google1 5 False
7 www.google2.com Google2 5 False
8 NULL Services NULL True
9 NULL IT 8 False
10 www.it1.com it1 9 False
11 www.it2.com it2 9 False
12 NULL Infrastructure 9 False
13 www.infra1.com infra1 12 False
14 www.infra2.com infra2 12 False

IsHeaderMenu represents menus which are present in the menubar.

This is my table structure.
User can add more menus from the UI provided.

I have to create the menu dynamically by using the above table structure.
I want to prepare xml for the above structure and want to do.

Can you give me some sample ?

Regards
Sreedhar Ambati



1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Mar 2011, 08:27 AM
Hello,

Take a look at the following help article and demo.
Loading Items from XML
Menu / XML Definition

Thanks,
Shinu.
Tags
Menu
Asked by
sreedhar ambati
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or