如果用户输入密码,它可能会保留在密码字段中,而不会在回发后刷新 [英] is it possible that auser once enters the password it remains in the password field without being refreshed after post back

查看:52
本文介绍了如果用户输入密码,它可能会保留在密码字段中,而不会在回发后刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在注册过程中,有一个密码字段,当回发完成后会刷新,以便选择值来自数据库的国家,州,城市等。是否有任何方法,用户一旦输入密码,它将保留在密码字段中而不刷新。

During registration there is a password field which gets refreshed when a post back is done In order To select the country, state, city etc. where the values come from database. Is there any method where the user once enters the password it remains in the password field without being refreshed.

推荐答案

您可以使用ViewState保留密码的值同一页的多个帖子中的字段
You can use the ViewState to keep the value for the password field in multiple post backs for the same page


这篇关于如果用户输入密码,它可能会保留在密码字段中,而不会在回发后刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆