vijay rags

vijay rags

  • NA
  • 68
  • 163.4k

How to set focus to a multi line textbox in silverlight 4 first line

Jan 28 2012 8:02 AM
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
 

Answers (1)