| |
Code Firing Twice in Your CodeBehind?
Written by
Daniel Longieliere
Provided by Logic Unlimited
My button click event is firing twice in asp.net, why?
Most of the time when you find your buttons firing twice, it is because your button has an on_click event defined on the aspx page, and in the code behind, you also have a handles button.click type definition.
In short, you only need to point it once, and most people recommend that you do so on the aspx page, and disregard it in the code behind.
Hope this helps, email me if you have any trouble.
Did this help? If not,
click here and contact us for further
assistance.
|
|
|
 |
RECENT ARTICLES |
 |
|
| |
|
|
|
|
|