ASP.Net TextBox只读时不能取值的解决方案

给页面的TextBox设置ReadOnly="True"时,在后台代码中不能赋值取值,下边几种方法能够避免:this     一、不设置ReadOnly,设置onfocus=this.blur()orm C#代码  <asp:TextBox ID="TextBox1" runat="server" onfocus=this.blur()></asp:TextBox>  <asp:TextBox I
相关文章
相关标签/搜索