Click here to Skip to main content
12,511,648 members (47,269 online)
Click here to Skip to main content


24 bookmarked

Call a C# Method From JavaScript Hosted in a WebBrowser

, 6 May 2011 CPOL
This demonstrates how you can call a C# method in a Windows Forms application from JavaScript that is hosted in a webpage inside a WebBrowser control on your form.



Compare Revision Minor Date Status Editor
6 - publicly available No 6-May-11 11:49 Available Deeksha Shenoy
5 No 6-May-11 10:14 Composing AspDotNetDev
4 No 5-May-11 23:58 Composing AspDotNetDev
3 No 23-Nov-10 14:20 Composing AspDotNetDev
1 No 23-Nov-10 14:09 Composing AspDotNetDev


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
United States United States
  • Managing Your JavaScript Library in ASP.NET (if you work with and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 6 May 2011
Article Copyright 2010 by AspDotNetDev
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid