I have this problem with CefSharp and js post. This is my structure. In my MainWindow.xaml.cs I have:
chromium = new CefSharp.Wpf.ChromiumWebBrowser();
chromium.RegisterJsObject("jsInterface", new jsMapInterface());
where jsMapInterface is an open class with its methods.
In my html / js folder, I call the C # method with:
window.jsInterface.myTest();
where myTest () is the method inside the jsMapInterface class , but nothing happens. Where is my mistake?
Thanks, I advise.
source
share