标签时选择文本框中的所有文本 [英] Select all text in textbox when tabbing
本文介绍了标签时选择文本框中的所有文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在标签显示时是否有可以选择文本框中所有文字的属性?这是文本框属性代码:
< asp:TextBox ID = TextBoxFTUG runat = server 宽度 = 180px AutoPostBack = True ontextchanged = TextBoxFTUG_TextChanged > ; 0 < / asp:TextBox >
解决方案
请参阅我对该问题的评论,例如,本文:http://www.4guysfromrolla.com/articles/021611-1.aspx [ ^ ]。
< DD> -SA
Is there a property that can select all text in a textbox when tabbing? Here is the textbox property code:
<asp:TextBox ID="TextBoxFTUG" runat="server" Width="180px" AutoPostBack="True" ontextchanged="TextBoxFTUG_TextChanged">0</asp:TextBox>
解决方案
Please see my comment to the question and, for example, this article: http://www.4guysfromrolla.com/articles/021611-1.aspx[^].
—SA
这篇关于标签时选择文本框中的所有文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文