fmbma
Posts: 58
|
Posted: 10/14/2004, 7:05 AM |
|
Could not find a previous post to this problem. On record forms password fields do not seem to populate. The field shows blank, and if it's required, saving the record fires the required error.
This is happening on my app, and also on the Task Manager app I converted to .net. If I change the "Type field" on the format tab to text (which then blanks out???), the password displays OK as text.
thx, Fred
|
|
|
olegmi
|
Posted: 05/23/2005, 5:37 AM |
|
I have the same problem in .net as described in previous post. So, what's the solution?
|
|
|
peterr
Posts: 5971
|
Posted: 05/23/2005, 10:53 AM |
|
I didn't understand the above description - possibly that's the reason that no one responded yet?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
fmbma
Posts: 58
|
Posted: 05/23/2005, 10:59 AM |
|
I gave up on programming .net with ccs, so I didn't follow up on this. To clarify, if I set a textbox to be a password field, it would not display the *** asterisks.
|
|
|
darren166
Posts: 24
|
Posted: 05/26/2005, 1:54 AM |
|
For security reasons asp.net hides .text values when the textbox type is password, so that if you bind a textbox that you have set to type 'password' to a database field (eg if you have a page that offers the chance for a user to change their password) the old password will not be displayed.
If you want to change that behaviour you need to do the following in the 'before show' for the password box;
TextBoxName.Attributes.Add("value", item.Password.GetFormattedValue());
Where 'Password' is the name of the database field and 'TextBoxName' is the form / textbox combination name for the password textbox.
Note that this is an asp.net feature, not a Codecharge one.
Darren.
_________________
---
a. w. d. - c o n s u l t i n g
Midnight Oil Consumers. |
|
|
|