OnButtonClick Method

Fires when a button or checkbutton is clicked.

Syntax

Visual Basic Overridable  Protected   Sub 
OnButtonClick(
        ByVal sender As object,
        ByVal e As EventArgs
)
C# protected   virtual void 
OnButtonClick(
        object sender,
        EventArgs e
);
Managed C++ protected:   virtual void 
OnButtonClick(
        object sender,
        EventArgs e
);
JScript protected  function
OnButtonClick(
        sender : object,
        e : EventArgs
);

Parameters

sender Required. The source object.
e Required. The event parameters.

Return Value

No return value.

Applies To

TOOLBAR

See Also

Internet Explorer WebControls, About the Toolbar WebControl