How to add new menu item in code behind

4 posts, 1 answers
  1. dinakaran g
    dinakaran g avatar
    6 posts
    Member since:
    Feb 2010

    Posted 06 Sep 2010 Link to this post

    Hi All

      I am Using Rad Menu. Basically i am created 3 menu items like File View and Users
    where as User menu item i have binded submenu from database. how to add click event for that submenus.
    how can acheive that .
    G Dinakaran
  2. Answer
    Konstantina avatar
    2332 posts

    Posted 07 Sep 2010 Link to this post


    Thank you for contacting us.

    You can refer to the following help articles, in which is explained how to add dynamically items and how to use the click events, or how to add a command to the item:

    Hope this helps. If you need further assistance please let us know.

    Kind regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Tim
    Tim avatar
    6 posts
    Member since:
    Oct 2016

    Posted 25 Mar 2017 in reply to Konstantina Link to this post

    I tried using the example from the

    and I'm getting an ambiguity problem between the class MenuItem, and System.Windows.Controls.MenuItem.


    I've tried a couple other options, but I have started getting a casting missmatch (can't cast string as type MenuItem). Everything i can find other than the article is several years old. I know this is easier than I'm making it, and I'm missing something, but help would be appreciated.

  4. Tim
    Tim avatar
    6 posts
    Member since:
    Oct 2016

    Posted 25 Mar 2017 in reply to Tim Link to this post

    Please disregard my post, it is not applicable to the original question.
Back to Top