[Mono-list] Bug?
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Mon, 28 Jan 2002 11:54:11 -0200
>From: "Gaurav Vaish" <gvaish@iitk.ac.in>
>Subject: [Mono-list] Bug?
>Date: Sun, 27 Jan 2002 09:13:48 +0530
>
> While playing with ..Web.UI.WebControls.TextBox, I found that whenever
>I set
>the TextMode (type parameter) to "Password", the contents / value of the
>control
>disappears. The documentation reads:
>
> "The persistence of the Text property can be done either as an
>attribute or
>as the inner contents of the tag, regardless of the TextMode setting."
>
> which means that I can set Text (value) in whatever way I like, and it
>should work. I tried both the ways, but none of them working for "password"
>mode. Is this a bug or am I missing some document?
>
The problem is probably in the client side: most browsers (IE surely) clear
any password field in the form for security reasons. So if you intercept
ASP.NET output it may be sending the field value, but the browser may be
clearing it.
Rafael Teixeira
Brazilian Developer
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.