Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Is there a property that can select all text in a textbox when tabbing? Here is the textbox property code:

ASP.NET
<asp:TextBox ID="TextBoxFTUG" runat="server" Width="180px" AutoPostBack="True" ontextchanged="TextBoxFTUG_TextChanged">0</asp:TextBox>
Posted
Comments
Sergey Alexandrovich Kryukov 28-Oct-14 15:25pm    
I don't know what is "tabbing". Selection of the text is unrelated to tab control. You can select the text on whatever event you need to use. (In some cases, this is a good idea to do so.)
—SA
Computer Wiz99 28-Oct-14 15:31pm    
Ok, Is there a textbox property to do this or do I need a code behind?
Sergey Alexandrovich Kryukov 28-Oct-14 15:32pm    
Please see my answer. The problem can be solved on the client side in JavaScript. This would be a right way to do it.
—SA

1 solution

Please see my comment to the question and, for example, this article: http://www.4guysfromrolla.com/articles/021611-1.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900