We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Default Context Menu

Is there a way to turn off the default context menu or to remove some of the options by disabling somehow.


Thanks for considering Aspose.

Well, you can also remove/exclude some of the menu items, the procedure is a simple: e.g..,

Create a new javascript language file same like "lang_en.js" (You may also update the existing "lang_en.js" file. but this method is not recommended) which is stored in stored by default in the ...\Program Files\Aspose\Aspose.Grid\agw_client folder,
Open it into notepad and edit it to Save it As for your need. You may comment out the related line(s) e.g., //MenuItemCopy :"Copy", so that the option will not be shown in the context menu when the user utilizes the right click menu of the gridweb.
In your code you may try to set the code: GridWeb1.AGWLanguageFileUrl = "`http://localhost/DemoApplication/lang_ennew.js`";

Thank you.