Password textbox
i am having a problem with a password textbox that for some reason after the user was wrong it doesnt clear
can anyone explain this???
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Roei BarRank #1,271 · 1.4K reputationPosted Aug 15, 2009, 1:58 AM EDT
i belive its since you are missconfigured one of the properties
called "ClearTextOnInvalid" just set it to True and that should do the trick
hamzi AbuKhalla193 reputationPosted Sep 16, 2009, 7:30 PM EDT
how about
txtPass.Text="";