Password Strength

5 posts, 0 answers
  1. randall
    randall avatar
    40 posts
    Member since:
    Apr 2009

    Posted 05 Nov 2014 Link to this post

    Hi,
    I'm trying to use the Password Strength on a password input but for some reason the strength indicator is not showing when the input is inside a Div or panel.
    if i move it outside i see it just fine. I need this inside the div/panel so it looks right. 

    any ideas?

    could i maybe create my own images and force them to show in the panel?

    Rs
  2. randall
    randall avatar
    40 posts
    Member since:
    Apr 2009

    Posted 07 Nov 2014 Link to this post

    anyone have any ideas?
  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 10 Nov 2014 Link to this post

    Hello Randall,

    You can see on online demo below that pretenses Password Strength Checker for the RadInput control, where the input controls are placed in div elements and they behaves properly.

    http://demos.telerik.com/aspnet-ajax/input/examples/common/passwordstrengthchecker/defaultcs.aspx

    Test it on your and see what the difference in your case is.

    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  4. liu
    liu avatar
    5 posts
    Member since:
    Jul 2020

    Posted 07 Jul in reply to Maria Ilieva Link to this post


    hello,
    how telerik calculate the Strength of password? where i can get info? 
    for example telerik pu score 10% what does it mean? like less 10 caractest or there is no uppercase caracters? 
    var calculatedScore = args.get_strengthScore(); --> how it get this score?


    https://www.telerik.com/forums/password-strength-score
    https://docs.telerik.com/devtools/aspnet-ajax/controls/textbox/features/password-strength-checker

    <script type="text/javascript">
        function CalculatingStrength(sender, args) {
            if (args.get_passwordText() == "Enter Password") {
                //Manually set strength Score depending on the input text.
                args.set_indicatorText("Custom text");
                args.set_strengthScore(0);
            }
            else {
                var calculatedScore = args.get_strengthScore();
                //Changing the indicator text depending on the calculated score.
                args.set_indicatorText("Score: (" + calculatedScore + "/100)");
            }
        }
    </script>
  5. Doncho
    Admin
    Doncho avatar
    38 posts

    Posted 09 Jul Link to this post

    Hi Liu,

    I have answered to your question in another forum thread you have posted - https://www.telerik.com/forums/password-strength-score#XdDZD6yjt0i50jjQ6PASiA

    Posting the same question in several threads results in a duplicated content and is not recommended.

    If you have any further questions coming up, I would suggest continuing the communication in one thread only.

    Kind regards,
    Doncho
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top