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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Button Event

Button Event

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 3 Posters 1 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.
  • C Offline
    C Offline
    cppdotnet
    wrote on last edited by
    #1

    I have click event on button. It works fine after clicking the button twice it doesn't do anything on first click. After clicking it aging it works fine. Any idea why??? Thanks

    E G 2 Replies Last reply
    0
    • C cppdotnet

      I have click event on button. It works fine after clicking the button twice it doesn't do anything on first click. After clicking it aging it works fine. Any idea why??? Thanks

      E Offline
      E Offline
      eggsovereasy
      wrote on last edited by
      #2

      Whats the code in the Button_Click event handler? Also do you already have focus on the window for the first click?

      C 1 Reply Last reply
      0
      • C cppdotnet

        I have click event on button. It works fine after clicking the button twice it doesn't do anything on first click. After clicking it aging it works fine. Any idea why??? Thanks

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        What exactly is it that it doesn't do on the first click? Is the button totally dead, or does it seem to react to the click? Perhaps it even causes a postback? --- b { font-weight: normal; }

        1 Reply Last reply
        0
        • E eggsovereasy

          Whats the code in the Button_Click event handler? Also do you already have focus on the window for the first click?

          C Offline
          C Offline
          cppdotnet
          wrote on last edited by
          #4

          button is not dead ... when i click it first time it posts back ... goes to page load and comes back and doesn't do anything when i click it again it goes to the page load and then goes to event function and works fine ... but i don't why it doesn't go to click event on first click Thanks

          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