Solved

ASP.NET Text Password

Posted on 2007-11-29
2
219 Views
Last Modified: 2013-11-26
I cannot for the life of me figure out why this text box doesn't have the "*******" in it on page load.  I've tried both versions below + putting it in the VB page on Page Load.

<asp:TextBox ID="txtPassword" runat="server" ForeColor="#9F6613" TextMode="Password"
                            Width="145px" onfocus="ClearIt(this);" Text="*******" ></asp:TextBox>

<asp:TextBox ID="txtPassword" runat="server" ForeColor="#9F6613" TextMode="Password"
                            Width="145px" onfocus="ClearIt(this);" >*******</asp:TextBox>
0
Comment
Question by:lrbrister
2 Comments
 
LVL 16

Accepted Solution

by:
SQL_SERVER_DBA earned 500 total points
ID: 20379369
textbox.Attributes.Add("value", "whatever")
0
 

Author Closing Comment

by:lrbrister
ID: 31411855
Fast...concise...and exactly what I needed.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now