How to call JavaScript function from C# Form?

0
0

Hello expert team,

I have some problem to call JavaScript function and I need to send image from HTML panel to C# pictureBox
Could you please suggest me to solve this.

Thank you very much.

Attachment
  • Terza Sek
    Now, I can call javaScrip function by use this.htmlPanel1.Eval(“document.getElementById(‘snap’).click()”) *JavaScrip already inside HTML panel* But i need to send image from HTML panel to C# picturebox.
  • You must to post comments
0
0

Hi Terza,

I think the best way to achieve this is using [WebMethods]. Find more information here:

https://docs.wisej.com/docs/concepts/javascript-object-model

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.