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. ASP.NET
  4. how to programatically click on LINK

how to programatically click on LINK

Scheduled Pinned Locked Moved ASP.NET
jsontutorial
4 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.
  • M Offline
    M Offline
    Muhammad Nauman Yousuf
    wrote on last edited by
    #1

    I can click on to a button via the following code object loginButton = webBrowser1.Document.GetElementById("ctl00_WorkSpace_Login1_LoginButton").InvokeMember("click"); but if there is a link on a website an external website that i want to click. Regards, Muhammad Nauman

    "Mess with the Best, Die like the rest"

    N M 2 Replies Last reply
    0
    • M Muhammad Nauman Yousuf

      I can click on to a button via the following code object loginButton = webBrowser1.Document.GetElementById("ctl00_WorkSpace_Login1_LoginButton").InvokeMember("click"); but if there is a link on a website an external website that i want to click. Regards, Muhammad Nauman

      "Mess with the Best, Die like the rest"

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

      You don't have to click. Just extract the link and redirect browser to there. And your question has nothing to do with ASP.NET.

      Best wishes, Navaneeth

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        You don't have to click. Just extract the link and redirect browser to there. And your question has nothing to do with ASP.NET.

        Best wishes, Navaneeth

        M Offline
        M Offline
        Muhammad Nauman Yousuf
        wrote on last edited by
        #3

        Thx Navaneeth, for your time to answer. The link actually performs the postback operation. I am confident this question is an ASP.NET one, Kindly re evaluate the requirement. Regards, Muhammad Nauman

        "Mess with the Best, Die like the rest"

        1 Reply Last reply
        0
        • M Muhammad Nauman Yousuf

          I can click on to a button via the following code object loginButton = webBrowser1.Document.GetElementById("ctl00_WorkSpace_Login1_LoginButton").InvokeMember("click"); but if there is a link on a website an external website that i want to click. Regards, Muhammad Nauman

          "Mess with the Best, Die like the rest"

          M Offline
          M Offline
          Muhammad Nauman Yousuf
          wrote on last edited by
          #4

          Awaiting for your input !!!

          "Mess with the Best, Die like the rest"

          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