lol, can't believe I didnt' actually say what the problem was. Absent
minded after 3 days 16 hours a day programing i guess.
anyways, basically the problem is when I assign a value to the TextBox.Text
property it doesn't send that information back to the client in the source.
eg.
OnPageLoad() {
txtPassword.Text = "123456";
}
<asp:textbox id="txtPassword" textmode="Password" runat="server" />
returned source:
<input name="txtPassword" type="password" id="txtPassword" />
There's no value="123456" in the input tag that is sent to the client.
I think this explains it.
thanks for any help.
Dave
"Tom Dacon" <td****@community.nospam> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...
Exactly what problems are you having?
Tom Dacon
Dacon Software Consulting
"David Kyle" <dk***@chloemag.com> wrote in message
news:e$****************@TK2MSFTNGP14.phx.gbl... Hello there,
I'm having some problems setting the TextBox.Text Property in my code and
having it returned to the client in the source when the
TextBox.TextMode="Password".
I know this is generally not a good idea to fill it with the actual
password but I would like to put '*'s in it as place holders just so it
looks like the password is actually typed out in there.
Thanks,
David Kyle
www.chloemag.com