By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Button Event does not fire every time

P: n/a
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_Click"
subroutine. If I then click the button again, it goes to
"Page_Init" and then to "Page_Load" and then to the
"button_Click" subroutine. Any one have any ideas?

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Never Mind. After several hours I found the problem. The text box
that the search criteria had autopostback=True. This must have caused
the textchange event to fire instead of the button click event.

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.