<asp:TextBox ID="txtNum4" CssClass="txtInput" runat="server" Style="ime-mode: disabled"   onkeypress="return MastInt2(this);"    MaxLength="5" />本来想在 前台HTML 设置关闭输入法的Style="ime-mode: disabled" .但是 这些控件在后台生成的不能这么设置了 只能在后台设置了.
但是这样设置没用 txt.Attributes.Add("ime-mode", "disabled"); 有办法吗?在后台 只是有 txt 这个对象.