custom radmenuitem issues

2 posts, 1 answers
  1. sf
    sf avatar
    103 posts
    Member since:
    Apr 2009

    Posted 29 Mar 2011 Link to this post

    hi, in the event of

    Page_Load

     I added a custom item:

     

     

    RadMenuItem

     

     

    manageAccessMenuItem = new RadMenuItem("Open Account");

     

     

    manageAccessMenuItem.Value =

     

    "OpenAccount";

     

     

     

     

    I need to achieve 2 things:
    1. on this item click i open a radwindow
    2. show or enable this item only for a specific files within some specific folders, hide or disable this when right click on empty area or a folder.

    please help
    thanks in advance

     

  2. Answer
    Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 30 Mar 2011 Link to this post

    Hi,

    Please find an example of how to assign command to custom button / context menu in the following help article:
    Adding a custom button to the toolbar and an item to the tree context menu

    In order to manipulate the state of this custom menu item you can use the RadFileExplorer's OnClientItemSelected client-side event.

    Greetings,
    Dobromir
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top