New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The settings determining the RadInputControl password strenght.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class InputPasswordStrengthSettings : ObjectWithState

Inheritance: objectObjectWithStateInputPasswordStrengthSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public InputPasswordStrengthSettings(StateBag OwnerStateBag)
Parameters:OwnerStateBagStateBag

Properties

List of semi-colon separated numeric values used to determine the weighting of a strength characteristic. There must be 4 values specified which must total 100. The default weighting values are defined as 50;15;15;20. This corresponds to password length is 50% of the strength calculation, Numeric criteria is 15% of strength calculation, casing criteria is 15% of calculation, and symbol criteria is 20% of calculation. So the format is 'A;B;C;D' where A = length weighting, B = numeric weighting, C = casing weighting, D = symbol weighting.

C#
public virtual string CalculationWeightings { get; set; }

Set the CSS Style for the indicator element. This style will be set regardless of the calculated password strength.

C#
public virtual string IndicatorElementBaseStyle { get; set; }

Set ID of the element wtich to style and show the text. Leave this empty and such element will be created automatically.

C#
public virtual string IndicatorElementID { get; set; }

Set Width of the indicator

C#
public virtual Unit IndicatorWidth { get; set; }

Only in effect if RequiresUpperAndLowerCaseCharacters property is true. Specifies the minimum number of lowercase characters required when requiring mixed case characters as part of your password strength considerations. By default MinimumLowerCaseCharacters is 2

C#
public virtual int MinimumLowerCaseCharacters { get; set; }

Minimum number of numeric characters. Default number of minimum numeric characters is 2

C#
public virtual int MinimumNumericCharacters { get; set; }

Minimum number of symbol characters. By default is 2

C#
public virtual int MinimumSymbolCharacters { get; set; }

Only in effect if RequiresUpperAndLowerCaseCharacters property is true. Specifies the minimum number of uppercase characters required when requiring mixed case characters as part of your password strength considerations. By default MinimumUpperCaseCharacters is 2

C#
public virtual int MinimumUpperCaseCharacters { get; set; }

Specify the client event handler that will be executed when calculating the password strength

C#
public virtual string OnClientPasswordStrengthCalculating { get; set; }

Preferred length of the password. Default preffered length is 10

C#
public virtual int PreferredPasswordLength { get; set; }

Specifies whether mixed case characters are required. By default is true

C#
public virtual bool RequiresUpperAndLowerCaseCharacters { get; set; }

Gets or sets a value indicating whether PasswordStrengthInticator will be shown

C#
public virtual bool ShowIndicator { get; set; }
Property Value:

true, if you want to show PasswordStrengthInticator, otherwise false (the default value).

List of semi-colon separated descriptions that will be shown depending on the calculated password strength By default TextStrengthDescriptions is "Very Weak;Weak;Medium;Strong;Very Strong"

C#
public virtual string TextStrengthDescriptions { get; set; }

List of semi-colon separated names of CSS Styles that will be used to style the indicator element. By default TextStrengthDescriptionStyles = "riStrengthBarL0;riStrengthBarL1;riStrengthBarL2;riStrengthBarL3;riStrengthBarL4;riStrengthBarL5;"

C#
public virtual string TextStrengthDescriptionStyles { get; set; }