Radmenu creation from codebehind

2 posts, 0 answers
  1. sreedhar ambati
    sreedhar ambati avatar
    36 posts
    Member since:
    Aug 2009

    Posted 02 Mar 2011 Link to this post



    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



  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Mar 2011 Link to this post

    Hello,

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

    Thanks,
    Shinu.
Back to Top