I am using a toggle button and when a button is clicked, the CSSclass is changed by checkign whether it is a 1 or 0. if it is a 1(on) , it will be set to 0, if it is a 0, it will be set to a 1.
Only 1 postback occurs on each click , and thats how a button is toggled on or off. In Internet explorer, this is working great. However, in FireFox and in Google Chrome, something odd is happening! When I click teh buttons, it is causing a double-postback. This double-postback cancels out the first postback which was to turn on the button.
Anyone know why my code is causing a double postback?
View Complete Post