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. C#
  4. How to submit info programatically?

How to submit info programatically?

Scheduled Pinned Locked Moved C#
htmltutorialquestion
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.
  • S Offline
    S Offline
    sduhd
    wrote on last edited by
    #1

    I used WebBrowser to get an html Document, in which there was a "Submit" button. I can get this HtmlElement. How to emulate a click in a program? Call the elem's Click is invalid, cause it's a delegate , it can only appear in the leftside of a + or +=. Thanks.

    A 1 Reply Last reply
    0
    • S sduhd

      I used WebBrowser to get an html Document, in which there was a "Submit" button. I can get this HtmlElement. How to emulate a click in a program? Call the elem's Click is invalid, cause it's a delegate , it can only appear in the leftside of a + or +=. Thanks.

      A Offline
      A Offline
      Andrei Ungureanu
      wrote on last edited by
      #2

      Have you considered calling the method that handles the Click event?

      I will use Google before asking dumb questions

      S 1 Reply Last reply
      0
      • A Andrei Ungureanu

        Have you considered calling the method that handles the Click event?

        I will use Google before asking dumb questions

        S Offline
        S Offline
        sduhd
        wrote on last edited by
        #3

        It's an "event delegate", you cannot call it in your code. You can only use it at the left side of + or += operator. You know, I download an html document, it's written by other people. In the page there was a button. I want to emulate a "click" of the button in my program. I googled but no useful result.

        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