Password content validation

3 posts, 1 answers
  1. George
    George avatar
    73 posts
    Member since:
    Oct 2014

    Posted 05 Mar 2015 Link to this post

    I have a password input box with some password strength settings and an indicator show the password strength. That works fine, getting the password work fine.

    But now I would like the password strength settings to be enforced and reject non complying passwords.  Is there a way to know the constraints are satisfied short of writing my own code the count lower case/upper case/number/special characters myself?

    The documentation says nothing and the password examples do not submit.

    Thanks,
    George
  2. Answer
    Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 10 Mar 2015 Link to this post

    Hello George,

    Note that the password strength checker operates on the client and it can not perform server validation as you need. In your case you can apply some custom validator or handle the "OnClientPasswordStrengthCalculating" event and perform some custom validation as per your needs.

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. George
    George avatar
    73 posts
    Member since:
    Oct 2014

    Posted 10 Mar 2015 in reply to Maria Ilieva Link to this post

    I guess I write my own code to check password compliance since I require it on the server. 

    Thank you for the answer,
    George
Back to Top