About 2,120,000 results
Open links in new tab
  1. c# - How to communicate between WPF and JavaScript in a …

    Aug 21, 2012 · I have a C#/WPF application with an embedded browser (WebBrowser) with some JavaScript. How can they communicate with each other in both directions? Is it practicable to use the URL?

  2. javascript - how to call js function from c# wpf - Stack Overflow

    Jun 13, 2017 · In my WPF application I used a webbrowser control to load my local HTML page. I want to call function from c# (WPF App). This is working if javascript is written in HTML but if javascript is in some external file (myscript.js) then exception is throwing when calling js …

  3. Call web-side code from native-side code - Microsoft Edge …

    Jun 19, 2023 · Using JavaScript in WebView2 controls allows you to customize native apps to meet your requirements. This article explores how to use JavaScript in WebView2, and reviews how to develop using advanced WebView2 features and functions.

  4. Running JavaScript inside a .NET app with JavaScriptEngineSwitcher

    Apr 19, 2022 · Once you've accepted that you want to run JavaScript from your .NET code, a couple of options come to mind. You could shell-out to a JavaScript engine (like Node.js) and ask it to run your JavaScript for you, but then you haven't really solved the problem; you would still need Node.js installed.

  5. How to use Javascript on a WPF WebBrowser Control via MVVM

    Jul 15, 2014 · I am looking for a good solution to using a WebBrowser control that can receive Javascript commands and communicate with the ViewModel. It needs the following: Ability to collect values from Javascript forms, and return them to the ViewModel

  6. The WebBrowser control - The complete WPF tutorial

    WPF comes with a ready to use WebBrowser control, which allows you to host a complete web browser within your application.

  7. Mastering C# with WPF and JavaScript Integration - Web Dev Tutor

    Aug 20, 2024 · With the power of JavaScript, developers can create interactive elements within their WPF applications. Whether it's adding animations, real-time updates, or dynamic content, JavaScript can elevate the user experience and make applications more engaging.

  8. Embed Web Technologies (html, javaScript) into WPF ... - LinkedIn

    May 12, 2024 · With ExecuteScriptAsync() we can execute JavaScript code directly from our WPF application, enabling dynamic interaction between the web view JavaScript and our C# logic trough webView.

  9. diab0l/Granular: WPF for JavaScript - GitHub

    Granular is a re-implementation of WPF, compiled to JavaScript, allowing WPF applications to run in the browser (using Bridge.NET C# to JavaScript compiler).

  10. WPF for JavaScript: Bridging the Gap Between Worlds - Toxigon

    Apr 13, 2025 · In this deep dive, we're gonna check out what it means to bring WPF to JavaScript. We'll look at projects like Granular, which is a WPF-inspired framework for JavaScript. We'll also explore the benefits and challenges of this approach, and see where it might fit into the future of web development.

  11. Some results have been removed
Refresh