how to set a textbox with text mode as password with different Symbol

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selvamariappan
    New Member
    • Sep 2008
    • 26

    how to set a textbox with text mode as password with different Symbol

    Hi All,
    How to set a textbox with text mode as password with different symbol in asp.net , such as ######,**,..... ,Etc
    regards
    selvamariappan. c
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    There is no property setting or code for this in asp.net, perhaps some kinda javascript code snippet will do it though....

    joedeene

    Comment

    • selvamariappan
      New Member
      • Sep 2008
      • 26

      #3
      Thank You
      Is it Possible for vb.net 2005
      regards
      selva mariappan.c

      Comment

      • joedeene
        Contributor
        • Jul 2008
        • 579

        #4
        No, I still don't think it's possible, what's wrong with the default character that they provide as the password char?

        joedeene

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          For websites:
          I don't believe there is a way to change it. It is, however, different depending on the browser you use.
          Work around: Capture keypresses on a "label", setting the visible text of the label to be the character you want and keeping the actual keypresses as a value in a hidden input field.
          Note: That will be VERY tricky to get to work correctly.

          For windows applications:
          There is a property of the textbox that lets you specify which character is the password character.

          Comment

          Working...