Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SearchField.SetFocus

public void SetFocus();

Description

This function changes keyboard focus to the search field so a user can start typing.

This is similar to what happens when a user clicks inside the search field.