Build menu from codebehind

3 posts, 0 answers
  1. giuseppe
    giuseppe avatar
    10 posts
    Member since:
    Nov 2010

    Posted 25 Jul 2011 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Jul 2011 Link to this post

    Hello Giuseppe,

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 26 Jul 2011 Link to this post

    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!

Back to Top