IZWebFileManager

Advanced ASP.NET File Manager
Welcome to IZWebFileManager Sign in | Join | Help
in Search
The forum is moved to http://groups.google.com/group/izwebfilemanager
If you have any question, please post there. Thanks!

How to Disable Right-Click menu?

Last post 01-04-2011, 7:20 AM by MitchellSlim. 6 replies.
Sort Posts: Previous Next
  •  10-06-2010, 5:21 PM 588

    How to Disable Right-Click menu?

    Hi, first of all, thank you thank you thank you Igor for this wonderfull control.

    My situation is this, I'm trying to restrict the use of the control for the user, only to allow uploading and downloading.

    I can disable the buttons on the toolbar for : moving (wich creates a new forlder if it doesn't exist), copy , delete, rename. Good.

    BUT the user can still use these actions if it uses the right-click menu..
    I know I can customise te before action for any of the actions I want to prevent from executing: ItemRenaming, NewFolderCreating, etc...

    But It would be much simpler, and correct, if I can just disable the right-click menu entirely..
    is it possible to do it in the curren version of the app?

    I know I can touch the source code, but I don't have visual studio 2010 :( so I cannot modify the project..

    Ok hope my question was understood..

    Resumé: I want to restrict the functionality, but the right-click menu still offers all the functionality I want to restrict. ReadOnly = "false" doesn't work for me, cause I want the user to be able to Upload. I would cancel any event I don't want to exectute, but it would be more correct if I can avoid showing the option to perfrom the atcion at all.

    thank you!!

    renzo
  •  10-06-2010, 6:42 PM 590 in reply to 588

    Re: How to Disable Right-Click menu?

    there are two issues

    1. control the actions - allow or not to perform any of them
    2. showing or not them in context menu.

    current version allows you #1, but not #2

    I may offer simple solution - implement a property "EnableContextMenu", which will controll whether or not to show the context menu, but in such case you still have to cancel any user action by handling it. Such solution is UI only and easy to implement.

    Any other solution is much more complicate.

    Objections?
  •  10-06-2010, 7:02 PM 591 in reply to 590

    Re: How to Disable Right-Click menu?

    Thanks Igor for the quick reply.

    No objections at all, that's just what I was thinking of, disabling the context menu (UI).
    If the user cannot trigger the events....

    thank you again for your time.

    ps: I have an issue when I "RENAME a FOLDER" the app looses the ClientContext :( I will report it


  •  10-07-2010, 10:44 AM 594 in reply to 591

    Re: How to Disable Right-Click menu?

    will work on it next week
  •  10-22-2010, 1:50 PM 602 in reply to 594

    Re: How to Disable Right-Click menu?

  •  11-21-2010, 12:06 AM 605 in reply to 602

    Re: How to Disable Right-Click menu?

    Thank you igor!!

    I'll check it out soon!
  •  01-04-2011, 7:20 AM 629 in reply to 588

    Re: How to Disable Right-Click menu?

    go to the control panel in the start menu, click system > device manager. find the microphone in the device list and disable it.
View as RSS news feed in XML
www.IZWebFileManager.com
izwebfilemanager@gmail.com