I need the following behaviour.
when user right clicks on file, We need to show “upload version” menu item, once the user click on create version item, need to show popup with uploader.
when the user clicks on empty content in grid view, We need to show “upload” menu item.
How this can be possible to show menu item based on file click or empty right click