Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click Event Firing two times 1

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
Has anyone ever experienced a button's click event firing twice? This is happening everytime my button to submit my data is clicked.

There is no where in my asp.net code (visual basic using VS 2005) that calls this buttons click event procedure.

Any thoughts would be appreciated.

Thanks.

ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
You'd have to post your code. Somewhere in your code, the event is being triggered. Are you assigning handlers in code, did you copy and paste the event? What is the declaration of the click event?
 
I believe this can also happen when your using VS05's web server. Although I've never seen this on button clicks. usually I run into this when handling HttpApplication.Error.

This is a long shot. I would stick with jbenson001 for now.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Thanks. Somehow I had this...

Handles btnCopy.Click

...after the buttons click event header. Once I took it away, it stopped.

ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top