I am working on window application having dev. express grid whose tab index is set 35, and a text box having tab index 1, but when page loads tab stops on grid's find panel. I want focus on the text box. I tried to set focus on load event but not working.
Asked
Active
Viewed 40 times
1 Answers
0
got the answer..........
private void frmCustomer_Shown(object sender, EventArgs e)
{
txtCustomerName.BeginInvoke(new Action(() =>
{
txtCustomerName.Select();
}));
}

Karuna Soni
- 23
- 9