HierarchicalDataSourceControl.Focus Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets input focus to the control.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override void Focus()

Exception Condition
NotSupportedException

An attempt was made to call the Focus method.

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

.NET Framework
Available since 2.0
Return to top
Show: