Here's a cool ASP.NET tip from Sean 'Early' Campbell & Scott 'Adopter' Swigart (actually from their associate, Richard Hundhausen):
If you've got a password textbox name txtPassword, you cannot assign the Text property to it in code, or via DataBinding. This is by design. Here's a workaround, however:txtPassword.Attributes.Add("value", "abc")Now keep in mind, just because you can do this, doesn't mean you should. This is "by design" for a reason.
Posted by Hitesh on March 23, 2004:
Posted by Hayke Geuskens on December 2, 2004:
Leave a comment