OnButtonClick Method

When the button is clicked, calls the ButtonClick event handlers.

Syntax

Visual Basic Overridable  Protected  Function 
OnButtonClick( ByVal e As EventArgs ) As bool
C# protected   virtual  bool 
OnButtonClick(EventArgs e );
Managed C++ protected:   virtual  bool 
OnButtonClick(EventArgs e );
JScript protected  function
OnButtonClick(e : EventArgs );

Parameters

e Required. The event parameters.

Return Value

Returns one of the following possible values.

false Event does not bubble.
true Event bubbles.

Applies To

TOOLBARBUTTON

See Also

Internet Explorer WebControls, About the Toolbar WebControl