Bind Particular Item with database

2 posts, 0 answers
  1. pradeep kumar
    pradeep kumar avatar
    3 posts
    Member since:
    Mar 2010

    Posted 14 May 2010 Link to this post


    Thanks in Advance...

    I want to Add New Item in My radmenu that item should come through database only . In My existing rad menu is static that should be remain same I want to add one more item that should be come from database. How we can bind the Particular item dynamically

    Thanks and Regards
    Parveen Goyal
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 May 2010 Link to this post

    Hello Parveen Goyal,

    You could dynamically create the RadMenuItem and add the item to RadMenu Items collection.


    //Creating item  
    RadMenuItem item = new RadMenuItem("Item text"); // Get the item text by querying the db  
    // Add the item to Items collection  

    Also the demo shows how to add new item from server : Add/Remove/Disable Items


Back to Top