Button OnClick does not fire on first postback, but does on second

Discussion in 'ASP .Net' started by Janet Collins, Jan 13, 2006.

  1. I have a button on a user control on a form. I have the Click event wired
    to an event handler.

    The first time I click the button, the page postsback, but does not invoke
    my event handler.

    The second time I click the buttion, it does fire the event handler.

    I'm stumped... help would be appreciated
    Janet Collins, Jan 13, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dirk Meusel
    Replies:
    1
    Views:
    2,995
    Dirk Meusel
    Aug 19, 2003
  2. =?Utf-8?B?Ti4gU2hlaHphZA==?=

    change of session does not fire button click event for second time

    =?Utf-8?B?Ti4gU2hlaHphZA==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,037
    Scott Allen
    Apr 5, 2005
  3. Dave Prout

    Adding a second button if the first button is clicked

    Dave Prout, Jun 8, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    203
    John Saunders
    Jun 8, 2004
  4. yelipolok
    Replies:
    4
    Views:
    240
    John W. Krahn
    Jan 27, 2010
  5. Replies:
    2
    Views:
    240
Loading...

Share This Page