Code that is translated into the onclick client event.

If you use OnClientClick() on a submit button the button will still submit the form unless you return false from your JavaScript handler.

Note that when UseSubmitBehavior is false you cannot fire 'click' events for this button since the button officially is not being submitted unless you manually hook up a PostBackEventReference.


See also:

Class wwWebButton | wwWebPage::GetPostbackEventReference

© West Wind Technologies, 1996-2024 • Updated: 10/09/2007
Comment or report problem with topic