Solved

ASP.NET Text Password

Posted on 2007-11-29
2
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

636 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