This is a migrated thread and some comments may be shown as answers.

Password Strength

4 Answers 127 Views
Input
This is a migrated thread and some comments may be shown as answers.
randall
Top achievements
Rank 1
randall asked on 06 Nov 2014, 12:48 AM
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

4 Answers, 1 is accepted

Sort by
0
randall
Top achievements
Rank 1
answered on 07 Nov 2014, 07:38 AM
anyone have any ideas?
0
Maria Ilieva
Telerik team
answered on 10 Nov 2014, 01:54 PM
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.

 
0
liu
Top achievements
Rank 1
Veteran
answered on 07 Jul 2020, 02:08 PM

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>
0
Doncho
Telerik team
answered on 09 Jul 2020, 04:02 PM

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.
Tags
Input
Asked by
randall
Top achievements
Rank 1
Answers by
randall
Top achievements
Rank 1
Maria Ilieva
Telerik team
liu
Top achievements
Rank 1
Veteran
Doncho
Telerik team
Share this question
or