Information générale
Titre:
RequiredFieldValidator and Textmode=Password
Hi All,
In an ASP.NET form I have a textbox for the user to enter a password. I populate this with an existing value from the DB.
The textbox has an associated RequiredFieldValidator. This works fine with the TextBox.TextMode set to 'SingleLine' but if I change it to 'Password' the RequiredFieldValidator kicks in when the page is submitted and complains that the textbox is empty. This happens when I submit the page without editing the textbox - if I enter text it's OK.
Any clues ?
Regards,
Viv
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement