Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Hosting .NET Windows Forms Controls in IE

Hosting .NET Windows Forms Controls in IE

Scheduled Pinned Locked Moved Web Development
csharpquestionjavascripthtmlwinforms
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    OBRon
    wrote on last edited by
    #1

    I have read articles explaining how to host a .NET Windows Form within IE and I have a general question that perhaps someone can answer and save me some research. Once a .NET control has been constructed within IE, can this control communicate back to the HTML page that is hosting it? Can I push a button within the .NET control, and have C# code find an HTML element on it's parent page and perform an operation on it (change its color or update its value)? If that's possible, is the reverse possible? Can a javascript operation on an HTML button, call a method within that .NET control that it's hosting? If these things are possible, can you point me to where I need to look to implement these behaviors? Thank you in advance for any input. -Ron Ward

    J 1 Reply Last reply
    0
    • O OBRon

      I have read articles explaining how to host a .NET Windows Form within IE and I have a general question that perhaps someone can answer and save me some research. Once a .NET control has been constructed within IE, can this control communicate back to the HTML page that is hosting it? Can I push a button within the .NET control, and have C# code find an HTML element on it's parent page and perform an operation on it (change its color or update its value)? If that's possible, is the reverse possible? Can a javascript operation on an HTML button, call a method within that .NET control that it's hosting? If these things are possible, can you point me to where I need to look to implement these behaviors? Thank you in advance for any input. -Ron Ward

      J Offline
      J Offline
      Javier Lozano
      wrote on last edited by
      #2

      Yes it is possible...check this article out: Windows Forms ~javier lozano (blog || email)

      O 1 Reply Last reply
      0
      • J Javier Lozano

        Yes it is possible...check this article out: Windows Forms ~javier lozano (blog || email)

        O Offline
        O Offline
        OBRon
        wrote on last edited by
        #3

        Thank you for the article...that is a big help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups