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. General Programming
  3. Windows Forms
  4. Raising Events from IF hosted winfrom control to container(aspx) page

Raising Events from IF hosted winfrom control to container(aspx) page

Scheduled Pinned Locked Moved Windows Forms
dockerhelp
3 Posts 3 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.
  • K Offline
    K Offline
    Kodanda Pani
    wrote on last edited by
    #1

    Hi All, I have an winform control which needs to be hosted in a aspx page. Iam using the tag do so and its working. When an event occuers (like tab click) on the IE hosted winform control i need to raise this event to the aspx page which hosted the control. Any sort of help is appriciated. Thanks in advance. Regards Pani.

    N P 2 Replies Last reply
    0
    • K Kodanda Pani

      Hi All, I have an winform control which needs to be hosted in a aspx page. Iam using the tag do so and its working. When an event occuers (like tab click) on the IE hosted winform control i need to raise this event to the aspx page which hosted the control. Any sort of help is appriciated. Thanks in advance. Regards Pani.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Kodanda Pani wrote:

      i need to raise this event to the aspx page which hosted the control.

      I don't think this is possible.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • K Kodanda Pani

        Hi All, I have an winform control which needs to be hosted in a aspx page. Iam using the tag do so and its working. When an event occuers (like tab click) on the IE hosted winform control i need to raise this event to the aspx page which hosted the control. Any sort of help is appriciated. Thanks in advance. Regards Pani.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Why on earth are you using this architecture? It's just plain daft. If you need a control, you should write it as an ASP.NET control - they are very easy to write - and more importantly they sit neatly in the whole HTTP pipeline, so they can easily raise events that the host can interact with.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        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