对于asp.net文本框的默认值 - >的TextMode =密码 [英] default value for asp.net textbox -> TextMode = password

查看:131
本文介绍了对于asp.net文本框的默认值 - >的TextMode =密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅以下链接:结果
https://www.boot-loader.com/eng 结果
在该链接是如何工作的呢默认密码?结果
怎样才可以有一个默认值,如下面的文本框密码字符串的(星号)

 < ASP:文本框ID =headertxtPassWord=服务器文本=密码的CssClass =头登录输入的ValidationGroup =A
                        的TextMode =密码>< / ASP:文本框>


解决方案

好吧,我想我没有正确理解你。

的在这里,你可以找到一些背景的答案,说明
基本的一点是,MS prevents从安全起见显示默认的密码,这一点应在code后面进行,以避免揭幕密码告知他人。

希望这会有所帮助。

please see the link below :
https://www.boot-loader.com/eng
how does default password in that link work?
how can i have a default value such as "password" string for textbox below (with asterisks) :

                    <asp:TextBox ID="headertxtPassWord" runat="server" Text="password" CssClass="header-login-input" ValidationGroup="A"
                        TextMode="Password"></asp:TextBox>  

解决方案

Ok I think I did not understand you correctly.

Here you can find the answer with some background and explanation Basically the point is that MS prevents showing default password from security reasons and this should be done in code behind to avoid unveiling password to others.

Hope this will help.

这篇关于对于asp.net文本框的默认值 - &GT;的TextMode =密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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