To position the cursor at the end of the contents of a TextBox control, call the Select method of the textbox and specify the selection start position equal to the length of the text content, and a selection length of 0.
Ex:
txtBox1.Select(txtBox1.Text.Length, 0);
Anishsethu, if this helps please login to Mark As Answer. |
Reply | Alert Moderator