UltimateSearch Class Library

UltimateSearchInput.SetFocus Property

Gets or sets a value that indicates whether the search text box has the focus on page load.

[Visual Basic]
Public Property SetFocus As Boolean
[C#]
public bool SetFocus {get; set;}

Property Value

true if the search text box has the focus on page load; otherwise, false. The default value is true.

Remarks

Use this property to set the focus to the search text box on page load so that the cursor will initially be displayed in it on page load.

See Also

UltimateSearchInput Class | Karamasoft.WebControls.UltimateSearch Namespace