Hi,
How to set focus of the cursor to the first line first character of a multi line textbox on "enter" click event in silvelight 4.
Please help. its urgent. I tried with txtDescription.SelectionStart = 0; and txtDescription.SelectionLength = 0; but it is focus on second line first character.
Thanks,
Vijay
Loading
Shilpa KatrePosted Jan 30, 2012, 4:23 AM
try to write this code in your click event
txtDescription.focus();
txtDescription.Select(0,0);
Thanks,
Shilpa katre