如何自动增加MultiLine的TextBox的高度 [英] How do Increase the height of TextBox of MultiLine automatically

查看:74
本文介绍了如何自动增加MultiLine的TextBox的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,



我已经使用MultiLine从TextBox中保存并加了一个段落。

段落可能是1行或5 / multiline。我要求1行的高度应该是1行,5行的物质应该是5行,意味着它应该自动增加。



右侧滚动也不应该显示/ 0寄宿生所有方面/ 100%平原。

打印期间的意思应该是普通的。

Dear Sir,

I have saved & retived a paragraph from TextBox with MultiLine.
Paragraph may be 1 line or 5/multiline.I require the height for 1 line should 1 and 5 line matter should be in 5 line, means it should increase automatically.

Also right side scroll should not display/0 boarder all side/100% Plain.
Means during Print it should be plain.

推荐答案

http://stackoverflow.com/questions/10574998/multiline-textbox -auto-adjust-its-height-based-to-the-text-text [ ^ ]


试试这个链接好例子......

http://www.aspsnippets.com/Articles/ASPNet-Multiline-TextBox-TextArea -automatically-Scroll-to-Bottom-when-Page-Loads-using-JavaScript.aspx# [ ^ ]
try this link a good example...
http://www.aspsnippets.com/Articles/ASPNet-Multiline-TextBox-TextArea-automatically-Scroll-to-Bottom-when-Page-Loads-using-JavaScript.aspx#[^]


这篇关于如何自动增加MultiLine的TextBox的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆