how to raise event from webpage HTML/JS to C#

91 views
Skip to first unread message

Mohamed Yasar M

unread,
May 16, 2015, 12:40:26 AM5/16/15
to cef...@googlegroups.com
I am new to cef and cefglue.
Please help me how to implement below use case.

I want to listen to the HTML button click in my webpage. Once it is clicked it should notify my c# main app where cefbrowser control is available.

Will it be possible?. Plz help me.

Lukas Henkel

unread,
May 17, 2015, 4:20:20 PM5/17/15
to cef...@googlegroups.com
You can inject a JavaScript function that uses XMLHttpRequest to call
your C# backend using a custom scheme handler.
This is IMO the easiest way to do it.
Reply all
Reply to author
Forward
0 new messages