private void txtMailAddress_PreRender(object sender, System.EventArgs e)
  {
   this.txtMailAddress.Attributes.Add("onclick","this.value='';");
   
  }
可以在txtbox初始化前写一属性给它。

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-16
  • 2021-08-11
  • 2021-10-28
  • 2021-11-17
  • 2021-09-07
相关资源
相似解决方案