【问题标题】:Is there a way to set ASP.NET TextBox password char when in Password TextMode?有没有办法在 Password TextMode 中设置 ASP.NET TextBox 密码字符?
【发布时间】:2010-11-06 10:31:42
【问题描述】:

我希望当用户输入文本时,它应该显示 • 而不是简单的星号,有没有办法(在 win-forms 的 TextBox 中有一个属性 PasswordChar,它在 web 中有什么相似之处)? ?

【问题讨论】:

    标签: asp.net textbox passwords char


    【解决方案1】:

    不,这是特定于浏览器的。也许你可以用 javascript 伪造它,但我不推荐它。

    【讨论】:

      猜你喜欢
      • 2011-12-17
      • 1970-01-01
      • 2011-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-17
      • 1970-01-01
      相关资源
      最近更新 更多