Passwordstrength calculation

2 posts, 0 answers
  1. sho
    sho avatar
    24 posts
    Member since:
    Mar 2007

    Posted 09 Sep 2011 Link to this post


    I am using radtextbox with PasswordStrengthSettings to check my password strength. (from the demo

    Input / Password Strength Check)


    If the strength is 100 then user should be allowed to save the data. So how can I do this?


  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 10 Sep 2011 Link to this post


    function OnClientPasswordStrengthCalculating() {
                    var RadTextBox1 = $find("<%= RadTextBox1.ClientID %>")
                    if (RadTextBox1.get_value().length > 99) {
                        return true;
                    else {
                        return false;
    <asp:Button ID="Button123" runat="server" Text="GetLength" OnClientClick="return OnClientPasswordStrengthCalculating();" OnClick="Button123_Click" />
    Protected Void Button123_Click()
       // password strength is 100 or more

    let me know if any concern.

    Jayesh Goyani
  3. Telerik UI for ASP.NET Core is out
Back to Top