Home All Groups Group Topic Archive Search About
Author
21 May 2005 12:10 AM
abcd
I am gettting strange behavior for text control of type password....

I have a password text corol followed by a dropdownlist (whose AutoPostback
is true)

when I type my password then go to next cotrol whch fires autoPostback then
my passord contol is cleared...my entered password is cleared...what could
be the reason

Author
21 May 2005 12:30 AM
Steve C. Orr [MVP, MCSD]
This is the default behavior.  It minimizes passwords being transmitted
around the internet any more than they have to be.  It's a security
precaution.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"abcd" <a***@abcd.com> wrote in message
news:eFwB2lZXFHA.3032@TK2MSFTNGP10.phx.gbl...
>I am gettting strange behavior for text control of type password....
>
> I have a password text corol followed by a dropdownlist (whose
> AutoPostback is true)
>
> when I type my password then go to next cotrol whch fires autoPostback
> then my passord contol is cleared...my entered password is cleared...what
> could be the reason
>
Author
23 May 2005 3:20 PM
abcd
Basically I would like to show ***** for the password. If I dont display
those stars then the user of my page wil not get an idea if there is already
a pasword set or not....

thanks



Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%23MmPPxZXFHA.2468@TK2MSFTNGP10.phx.gbl...
> This is the default behavior.  It minimizes passwords being transmitted
> around the internet any more than they have to be.  It's a security
> precaution.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "abcd" <a***@abcd.com> wrote in message
> news:eFwB2lZXFHA.3032@TK2MSFTNGP10.phx.gbl...
>>I am gettting strange behavior for text control of type password....
>>
>> I have a password text corol followed by a dropdownlist (whose
>> AutoPostback is true)
>>
>> when I type my password then go to next cotrol whch fires autoPostback
>> then my passord contol is cleared...my entered password is cleared...what
>> could be the reason
>>
>
>
Author
23 May 2005 9:20 PM
Steve C. Orr [MVP, MCSD]
There is a workaround if you're determined. You can set the password text
via client side script.
Here's the simplest example I've seen:

MyPWTextBox.Attributes.Add("value", strPassword)

This server side code outputs the needed client side code to fill in the
password.  For reasons mentioned earlier, it's good to avoid transmitting
the password around like this when possible.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"abcd" <a***@abcd.com> wrote in message
news:%235Rgxr6XFHA.252@TK2MSFTNGP12.phx.gbl...
> Basically I would like to show ***** for the password. If I dont display
> those stars then the user of my page wil not get an idea if there is
> already a pasword set or not....
>
> thanks
>
>
>
> "Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
> news:%23MmPPxZXFHA.2468@TK2MSFTNGP10.phx.gbl...
>> This is the default behavior.  It minimizes passwords being transmitted
>> around the internet any more than they have to be.  It's a security
>> precaution.
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "abcd" <a***@abcd.com> wrote in message
>> news:eFwB2lZXFHA.3032@TK2MSFTNGP10.phx.gbl...
>>>I am gettting strange behavior for text control of type password....
>>>
>>> I have a password text corol followed by a dropdownlist (whose
>>> AutoPostback is true)
>>>
>>> when I type my password then go to next cotrol whch fires autoPostback
>>> then my passord contol is cleared...my entered password is
>>> cleared...what could be the reason
>>>
>>
>>
>
>