大家都对TextBox这个控件都不陌生吧!
TextBox中有个属性是TextMode,它里面有3个选项.
分别是SingleLine,MultiLine,Password
在使用Password时,在文本框里输入密码,它会显示*号.
请问我如果想把他改为$,怎么改?请各位大侠帮忙!万分感谢!!!

解决方案 »

  1.   

    it is caused by your operating system, most likely out of your control, unless you want to create your own textbox and intercept the key stroke and convert it to "$" programmatically using javascript
      

  2.   

    可不可说出具体的方法?
    <asp:textbox id="TextBox1" style="Z-INDEX: 109; LEFT: 264px; POSITION: absolute; TOP: 296px"runat="server" TextMode="Password"></asp:textbox>
      

  3.   

    思归老大说用js
    虽然麻烦了点,但应该很容易的,onkeykown事件中处理,但是就不要用textbox了,用input runat=server
      

  4.   

    TextBox, runat="server"中照样也可用onKeyDown
      

  5.   

    好像winform可以自己改,webform不可以的