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

Password Strength checkere custome style changes.

1 Answer 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
karuppiah
Top achievements
Rank 1
karuppiah asked on 06 Nov 2015, 04:07 PM

Hello  there,

 

I have  a requirement of Set PasswordStrengthSettings 's TextStrengthDescriptionStyles and TextStrengthDescriptions based on the following condions. how do i acheive it.

 

if(args.get_strengthScore() > 0 & args.get_strengthScore() <20)

{

Red colour RadStrength Strip and With Text "week"

}

else if(args.get_strengthScore() >​ 20 & args.get_strengthScore() <40)
{
Yellow colour RadStrength Strip and With Text "​Poor"

}

 

 

How do i acheive it??

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 10 Nov 2015, 11:52 AM
Hello,

You can handle the RadInput's  OnClientPasswordStrenghtCalculating event and make the desired validation-related styling in it. More detailed information regarding the event an be found here:
http://docs.telerik.com/devtools/aspnet-ajax/controls/input/client-side-programming/events/onclientpasswordstrengthcalculating


Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
karuppiah
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or