Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET Text Password

Posted on 2007-11-29
2
Medium Priority
?
228 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 2000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

730 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