Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RequiredFieldValidator and Textmode=Password
Message
De
22/06/2005 07:46:39
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
RequiredFieldValidator and Textmode=Password
Divers
Thread ID:
01025383
Message ID:
01025383
Vues:
180
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
Fil
Voir

Click here to load this message in the networking platform