如何避免多行文本框中的maxlenth属性 [英] how to avoid the maxlenth attribute in multiline text box

查看:147
本文介绍了如何避免多行文本框中的maxlenth属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的文本框代码



this is my code for text box

<asp:TextBox ID="txtRemarks" CssClass="form_input" runat="server" TextMode="MultiLine">



但我的浏览器显示如下:




but my browser showing like this :

<textarea maxlength="200" class="form_input" id="txtRemarks" cols="20" rows="2" name="ctl00$co_body$txtRemarks">





i这里不需要maxlength属性如何删除这个



帮助我,

提前致谢

velsamy



i dont need the maxlength attribute here how can i remove this

Help me,
Thanks in advance
velsamy

推荐答案

co_body


txtRemarks >
txtRemarks">





i这里不需要maxlength属性我怎么能删除这个



帮助我,

提前致谢

velsamy



i dont need the maxlength attribute here how can i remove this

Help me,
Thanks in advance
velsamy


通过读取TextBox控件的代码,不清楚200的值来自何处,但如果将MaxLength设置为0则不会完全呈现......
By Reading the code of the TextBox control it is not clear from where that value of 200 comes from, but if you set MaxLength to 0 it will not be rendered at all...


这篇关于如何避免多行文本框中的maxlenth属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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