文本框的问题 [英] problem with textbox
本文介绍了文本框的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我的文本框有问题,我希望用户写一篇文章,然后点击添加。
文章显示为排长队,没有回归线。我不知道是什么问题。
Hello,
I have a problem with the textbox, I want the user to write an article and then click add.
the thing is the article is showing as a long line, no return to the line. I dont knw what is the problem.
<asp:TextBox ID="TextNews" runat="server" Height="350px"
TextMode="MultiLine" Width="100%" Wrap="False"></asp:TextBox>
推荐答案
查看这里 [ ^ ]
另外,您可能需要查看ASP.Net的富文本编辑器。
希望这有帮助。
Look here[^]
Alternatively you might want to look into a rich text editor for ASP.Net.
Hope this helps.
试试吧
< asp:TextBox id = TextArea1TextMode =multilineColumns =50Rows =5runat =server/>
try it onces
<asp:TextBox id="TextArea1" TextMode="multiline" Columns="50" Rows="5" runat="server" />
您需要查看富文本框控件或类似HTMLEditorExtender的内容AjaxToolKit。
You need to look at rich textbox control or something like HTMLEditorExtender from the AjaxToolKit.
这篇关于文本框的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文