When I click a button on a form ... my code never reaches this onclick event
I have a dropdown and a textbox with a button on a form. When the button is clicked it doesn't go to my onclick even in code, but it goes to my dropdownlist selectedIndexchanged. How can I fix this?
If your dropdown is not set to autoplay and you change its value before clicking the button (and triggering the postback), then the dropdown event should appear.
... not that it explains why you are pushing the handler, not firing.