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

Maintaining text in a password type textbox

1 Answer 172 Views
Input
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 13 Mar 2008, 02:02 AM
Hi,
I'm trying to have some sort of feedback given to the user about the strength of the password, which is calculated on the server. I have a textchanged event that fires and updates some labels and the like. However, when it re loads the page, the text in the textbox is gone ....

Is it possible to maintain the values of a textbox that is set to password type in between postbacks (ajax or regular)?

If so, how?

Thanks

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 13 Mar 2008, 11:28 AM
Hello EmpowerIT,

We believe this is default behavior of input type="password" and it is implemented for security reasons. You can try performing ajax requests through the client-side API to check the password strength (you will probably need to pass the current value as an argument) but you need to make sure the password field is not updated on the ajax request as otherwise it will be reset just like in regular postback.


Sincerely yours,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
EmpowerIT
Top achievements
Rank 2
Answers by
Giuseppe
Telerik team
Share this question
or