|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Text control - passwordI 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 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. 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 > 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 >> > > 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. 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 >>> >> >> > >
How to react to an ImageButon in a DataList ?
AutoPostBack How can I use my Own control in DataGrid? Can we have more than 1 'control to validate' for a single validat TextBox.Text not getting the proper value Detailsview empty dataset insert Datalist Dynamic Template Loading Problem Referencing Datagrid Rows while Datagrid is Sorted error messages and focus Positioning Panel on WebForm at runtime |
|||||||||||||||||||||||