在TextBox中设置属性 ContentEditable="false" 即可。例:

<asp:TextBox Id="txt_DeptName" runat="server" Text="" ContentEditable="false"></TextBox>

注意:需要开启页面ViewState视图状态。

相关文章:

  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
猜你喜欢
  • 2021-07-15
  • 2021-11-11
  • 2022-12-23
  • 2021-12-28
相关资源
相似解决方案