System.Web.UI.WebControls.Literal.Focus Method

Set input focus to a control; the Literal.Focus base control method is not supported on a System.Web.UI.WebControls.Literal control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public override void Focus ()

Remarks

The System.Web.UI.WebControls.Literal control overrides the System.Web.UI.Control.Focus method of the base class. The Literal.Focus method of a System.Web.UI.WebControls.Literal control always throws an exception to indicate that the Literal.Focus method is not supported on a System.Web.UI.WebControls.Literal control.

Requirements

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