Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RequiredFieldValidator and Textmode=Password
Message
From
22/06/2005 07:46:39
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
RequiredFieldValidator and Textmode=Password
Miscellaneous
Thread ID:
01025383
Message ID:
01025383
Views:
181
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
Next
Reply
Map
View

Click here to load this message in the networking platform