When I create a widget, I can’t enable native browser’s right click. I tried to set .EnableNativeContextMenu = true; or .Eval(“this.setNativeContextMenu(true);”);
In wisej JS source code I can see that you call this.setNativeContextMenu(true); in constructor of some components, so I just can’t figure out how to call this function properly, please help, but it doesn’t work in any possible way for me. Example:
[Description(“Input is a lightweight, free, and open source terminal for the web.”)]
public class MyNewWrapper: Widget, IWisejControl
this.EnableNativeContextMenu = true; // doesn’t work
this.Eval(“this.setNativeContextMenu(true);”); // doesn’t work
(P.S. if I use the similar code for a panel that uses the widget, it also doesn’t work, like panel.EnableNativeContextMenu = true;)
Please login first to submit.