开发者

How to use custom password character in c# textbox in web forms?

开发者 https://www.devze.com 2023-01-20 02:14 出处:网络
I found that PasswordChar works for windows form Textbox control in this purpose, but how can I do that in case of web form?

I found that PasswordChar works for windows form Textbox control in this purpose, but how can I do that in case of web form? Please he开发者_StackOverflow社区lp.thx


You can't change the character displaying in a <input type="password">.

You can create a regular textbox and capturing the change event you can grab the text in it into a javascript variable and replace it with your own character.

0

精彩评论

暂无评论...
验证码 换一张
取 消