Consider the following markup:
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 186
runat="server" TargetControlID="TextBox1"
DisplayPosition="RightSide"
StrengthIndicatorType="Text"
PreferredPasswordLength="10"
PrefixText="Strength:"
HelpStatusLabelID="TextBox1_HelpLabel"
TextStrengthDescriptions="Very Poor;Weak;Average;???
Strong;Excellent"
TextStrengthDescriptionStyles= "TextIndicator_TextBox1???
Strength1;TextIndicator_TextBox1_Strength2; ???
TextIndicator_TextBox1_Strength3; TextIndicator_TextBox1???
Strength4; TextIndicator_TextBox1_Strength5"
MinimumNumericCharacters="0"
MinimumSymbolCharacters="0"
RequiresUpperAndLowerCaseCharacters="false" />
Here a TextBox control and a Label control are used to notify the user of the password??™s
strength level as typed. Because this message is being delivered to this Label
control, you can decorate it with a CSS class, skin, or other styling code.
Pages:
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271