Button Event does not fire every time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nesr235@lni.wa.gov

    Button Event does not fire every time

    I am having problems with my Button event not firing every time. I
    have a web page where the customer can enter search criteria and click
    a (search) button. This works fine the first time. But the next time
    nothing happens. In debug mode I can watch it go to "Page_Init"
    and then to "Page_Load" but never to the "button_Cli ck"
    subroutine. If I then click the button again, it goes to
    "Page_Init" and then to "Page_Load" and then to the
    "button_Cli ck" subroutine. Any one have any ideas?

  • Russ

    #2
    Re: Button Event does not fire every time

    Never Mind. After several hours I found the problem. The text box
    that the search criteria had autopostback=Tr ue. This must have caused
    the textchange event to fire instead of the button click event.

    Comment

    Working...