System.Web.UI.HierarchicalDataSourceControl.Focus Method

Sets input focus to the control.

Syntax

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

Remarks

Because the System.Web.UI.HierarchicalDataSourceControl class has no visual rendering, calling the HierarchicalDataSourceControl.Focus method on it throws a NotSupportedException exception.

Requirements

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