How to make the textbox to highlight in C#

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Hello All,
I have to highlight the textbox when the user enters the Add button. The textbox is in nextpage In the next page which should be highlighted. I tried textbox1.Focus(). It will only highlight the textbox, but to enter the text in it, user should click the
mouse on it. I also tried
System.Windows.Input.Keyboard.Focus(textbox1);
can you please help me to figure out the exact method.
<br/>
Thx,<br/>
Shilpa

View the full article
 
Back
Top