System.Web.UI.WebControls.Login.OnBubbleEvent Method

Determines whether to pass an event up the page's user interface (UI) server control hierarchy.

Syntax

protected override bool OnBubbleEvent (object source, EventArgs e)

Parameters

source
The source of the event.
e
An EventArgs containing the data for the event.

Returns

true if the event has been canceled; otherwise, false. The default is false.

Remarks

The Login.OnBubbleEvent(object, EventArgs) method implements the System.Web.UI.Control.OnBubbleEvent(object, EventArgs) method to pass events from child controls to the page hierarchy.

If the current event is posted by the System.Web.UI.WebControls.Login control Login button, the System.Web.UI.WebControls.Login control attempts to log in to the Web site. Otherwise, the event is passed up the page control hierarchy.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0