System.Web.UI.WebControls.HiddenField.Focus Method

Sets input focus to this control.

Syntax

public override void Focus ()

Remarks

Setting focus to a System.Web.UI.WebControls.HiddenField control is not supported. A NotSupportedException is thrown if you attempt to call this method.

Requirements

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