can I use PasswordStrength with listview?

2 posts, 0 answers
  1. moegal
    moegal avatar
    276 posts
    Member since:
    Jul 2007

    Posted 19 Mar 2013 Link to this post

    I would like to manually edit a listview and use the password strength checker only the checkPasswordMatch function is asking for the correct client ID

    function checkPasswordMatch() {
                    var text1 = $find("<%=PasswordInput1.ClientID %>").get_textBoxValue();
                    var text2 = $find("<%=PasswordInput2.ClientID %>").get_textBoxValue();
                    if (text2 == "") {
                        $get("PasswordRepeatedIndicator").innerHTML = "";
                        $get("PasswordRepeatedIndicator").className = "Base L0";
                    else if (text1 == text2) {
                        $get("PasswordRepeatedIndicator").innerHTML = "Match";
                        $get("PasswordRepeatedIndicator").className = "Base L5";
                    else {
                        $get("PasswordRepeatedIndicator").innerHTML = "No match";
                        $get("PasswordRepeatedIndicator").className = "Base L1";

    Can I stick this is a script or code block and get it to work?

    Thanks, Marty
  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 25 Mar 2013 Link to this post

    Hi Marty,

    I am not completely sure what is your requirement. If you want to execute the aforementioned code to check whether the passwords match you could hook it on Insert button click. If that is not your requirement could you please elaborate a little bit more? Sending us your code declaration and the related code behind will help us to understand your scenario and give you more to the point answer. 

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top