有没有一种方法可以在ASP changepassword控件中自定义文本框?
<asp:ChangePassword id="myChangePassword" newpasswordregularexpressionerrormessage="Error: Your password must be at least 5 characters long, and contain at least one number and one special character."
runat="server" OnChangingPassword="ChangingPassword"
OnChangedPassword="ChangedPassword" OnCancelButtonClick="CancelClick"></asp:ChangePassword>
例如,我希望顶部字段说“当前密码”而不是仅“密码”,这可能吗?
谢谢!
最佳答案
<asp:ChangePassword ID="ChangePassword1" runat="server"
PasswordLabelText="Current Password:">
</asp:ChangePassword>
这是你想要的吗?