过滤后的文本框中的回车 [英] Carriage Return in filtered Text Box
本文介绍了过滤后的文本框中的回车的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有:
I have:
<asp:TextBox ID="txtRemarks" runat="server" Height="165px" Width="325px" MaxLength="250" Rows="5" TabIndex="15" Wrap="True" TextMode="MultiLine" />
<ajaxToolkit:FilteredTextBoxExtender ID="ftbetxtRemarks" runat="server" TargetControlID="txtRemarks" FilterType="Custom, LowercaseLetters, UppercaseLetters, Numbers" FilterMode="ValidChars" ValidChars=" -,." />
我希望用户能够按Enter键(返回),文本框中的光标移至另一行.过滤器阻止了这种情况.
I would like the user to be able to press enter (return) and the cursor in the textbox go to another line. The filter is preventing this. Is there a better way to do this, or is this not possible?
推荐答案
在这里查看类似的线程.可能会帮助您.
http://forums.asp.net/t/1203820.aspx/1?MultiLine + textbox + with + FilteredTextBoxExtender + and + new + line + characters [
look at similar thread here. Might help you.
http://forums.asp.net/t/1203820.aspx/1?MultiLine+textbox+with+FilteredTextBoxExtender+and+new+line+charaters[^]
这篇关于过滤后的文本框中的回车的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文