Setting Value for password field

Discussion in 'ASP .Net Web Controls' started by Eric Elliston, Nov 13, 2003.

  1. I am trying to pull a value out of a database and set a textbox to the
    value. Well, when the textmode it password, it won't set it. is there some
    sort of encryption i have to use to make this work? thanks!


    Eric
     
    Eric Elliston, Nov 13, 2003
    #1
    1. Advertising

  2. Re :Setting Value for password field

    If you have to show password back to the user try setting
    the TextMode to 'text' . In this case the user can see
    his password and reset it if he wants to.

    -Gopi
    >-----Original Message-----
    >I am trying to pull a value out of a database and set a

    textbox to the
    >value. Well, when the textmode it password, it won't

    set it. is there some
    >sort of encryption i have to use to make this work?

    thanks!
    >
    >
    >Eric
    >
    >
    >.
    >
     
    S Gopikrishna, Nov 14, 2003
    #2
    1. Advertising

  3. Eric Elliston

    Joe Gass Guest

    Think this might work
    txtPassword.attributes.add("value","thepassword")

    "Eric Elliston" <> wrote in message
    news:%...
    > I am trying to pull a value out of a database and set a textbox to the
    > value. Well, when the textmode it password, it won't set it. is there

    some
    > sort of encryption i have to use to make this work? thanks!
    >
    >
    > Eric
    >
    >
     
    Joe Gass, Nov 14, 2003
    #3
  4. Worked great!

    "Eric Elliston" <> wrote in message
    news:%...
    > I am trying to pull a value out of a database and set a textbox to the
    > value. Well, when the textmode it password, it won't set it. is there

    some
    > sort of encryption i have to use to make this work? thanks!
    >
    >
    > Eric
    >
    >
     
    Eric Elliston, Nov 14, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. feng
    Replies:
    4
    Views:
    1,336
  2. AAaron123
    Replies:
    2
    Views:
    2,330
    AAaron123
    Jan 16, 2009
  3. AAaron123
    Replies:
    1
    Views:
    1,392
    Oriane
    Jan 16, 2009
  4. VUNETdotUS
    Replies:
    25
    Views:
    498
    Thomas 'PointedEars' Lahn
    Nov 10, 2007
  5. jr
    Replies:
    3
    Views:
    475
Loading...

Share This Page