hello friends
i am working in asp.net and c#.i have a text box.i have to find the cursor position.so i have to use textbox1.selectionstart but "selectionstart" is not coming plz help
Help in C#?
you need to capture the value of the text within the text box and find the length of the string in it. then set the cursor position to the end of that string. by adding one to the string length.
Reply:because you dont select any text that SelectionStart return you.
first select a rang of text by Select(0,1) then use it!
Reply:refer to thie website:
http://msdn2.microsoft.com/en-us/library...
Hope this will help.
Reply:use C++ for dummies
daylily
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment