我正在尝试在我的网络应用程序中实现密码强度功能。但是,没有出现文字说明,只出现“xx 字符”。我的代码有什么问题?
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Password"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" />
</td>
</tr>
<asp:PasswordStrength ID="txtPassword_PasswordStrength" runat="server"
Enabled="True" TargetControlID="txtPassword" PreferredPasswordLength="10"
TextCssClass="TextIndicator_TextBox1"
RequiresUpperAndLowerCaseCharacters="True"
HelpStatusLabelID="Label10"
TextStrengthDescriptions="Poor;Weak;Average;Strong;Excellent"
StrengthIndicatorType="Text" PrefixText="Strength:"
MinimumLowerCaseCharacters="0"
MinimumNumericCharacters="0" MinimumSymbolCharacters="0"
MinimumUpperCaseCharacters="0" DisplayPosition="RightSide" />