protected override void OnLoad(EventArgs e) { base.OnLoad(e); // Make sure cursor is in the search box searchTextBox.Select(); }