General information
Title:
Highlight textbox control
I have a ASP.Net webform. When a user clicks a button, I populate some textboxes with data, then I set focus to a textbox. However, the cursor is placed in the first position of the textbox. How do I highlight the contents of the textbox when I set focus, mytextbox.Focus(), as if someone tabbed into the textbox?
Thanks,
Jerry
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only