Is there a way to set ASP.NET TextBox password char when in Password TextMode?

爱⌒轻易说出口 提交于 2019-12-04 05:35:35

问题


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)????


回答1:


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



来源:https://stackoverflow.com/questions/1053940/is-there-a-way-to-set-asp-net-textbox-password-char-when-in-password-textmode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!