Referring to the previous post 'Textbox Validation' issue, I met a problem on set the focus back to the TextBox.
I used the 'OnLostFocus()' event on the Textbox to validate the entry. After that, I want to set the focus back the Textbox, which allows the user to correct their entry. But the TextBox.SetFocus() doesn't help me so.
Is there sth wrong with my code or not?
Thanks
I used the 'OnLostFocus()' event on the Textbox to validate the entry. After that, I want to set the focus back the Textbox, which allows the user to correct their entry. But the TextBox.SetFocus() doesn't help me so.
Is there sth wrong with my code or not?
Thanks