Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > FileExplorer > Remove 'Upload' From Right Click Menu

Not answered Remove 'Upload' From Right Click Menu

Feed from this thread
  • Randy avatar

    Posted on Jan 19, 2012 (permalink)

    Hi,

    Can you please tell how I can remove the 'Upload' option from the right click context menu in the FileExplorer control?

    Thank you very much!

    Kind regards,
    Randy Sullivan

    Reply

  • Haris avatar

    Posted on Jan 19, 2012 (permalink)

    Hi Randy, you can use PreRender event and remove the option from context menu:

    RadFileExplorer fileExplorer = sender as RadFileExplorer;
     
    // Remove Upload option from Context Menu
    RadMenuItem item = fileExplorer.GridContextMenu.Items.FindItemByValue("Upload");
    if (item != null) { fileExplorer.GridContextMenu.Items.Remove(item); }

    Hope this helps.

    -Haris

    Reply

  • Randy avatar

    Posted on Jan 19, 2012 (permalink)

    Thank you Haris! This worked perfectly!

    Kind regards,
    Randy Sullivan

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > FileExplorer > Remove 'Upload' From Right Click Menu
Related resources for "Remove 'Upload' From Right Click Menu"

ASP.NET FileExplorer Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]