CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 vb.net Passwords not showing

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.