有没有办法在密码TextMode中设置ASP.NET TextBox密码char?

时间:2020-12-14 00:57:09

I want that when the user types in text, it should show • rather than a simple asterisk, is there a way (in win-forms' TextBox there is a property PasswordChar, what is it's similar in web)????

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

1 个解决方案

#1


No this is browser specific. Maybe you could fake this with javascript, but I wouldn't recommend it.

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

#1


No this is browser specific. Maybe you could fake this with javascript, but I wouldn't recommend it.

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