摘要:
ASP.NET中TextBox控件设置ReadOnly="true"H或Enabled=false后台取不到值当TextBox设置了ReadOnly="true" 后,要是在前台为控件添加了值,后台是取不到的,值为“空” 。 方法一:不设置ReadOnly属性,通过onfocus=this.blur()来模拟,如下:<asp:TextBox ID="TextBox1" runat="server" onfocus=this.blur()></asp:TextBox> 方法二:设置了ReadO 阅读全文