HOWTO: Customize ChangePasswordFailureText?

A

Antonio

Hi,

I would like to display the ChangePasswordFailureText somewhere else. For
example:

Protected Sub ctlChangePassword_ChangePasswordError(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
ctlChangePassword.ChangePasswordError

Label1.Text = ctlChangePassword.ChangePasswordFailureText
End Sub

But Label1 appears as follows:
Password incorrect or New Password invalid.
New Password length minimum: {0}.
Non-alphanumeric characters required: {1}.

QUESTION: How can I display the actual value of {0} and {1}?

Thanks in advance.

Antonio
 
A

Antonio

Hi,

I would like to display the ChangePasswordFailureText somewhere else. For
example:

Protected Sub ctlChangePassword_ChangePasswordError(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
ctlChangePassword.ChangePasswordError

Label1.Text = ctlChangePassword.ChangePasswordFailureText
End Sub

But Label1 appears as follows:
Password incorrect or New Password invalid.
New Password length minimum: {0}.
Non-alphanumeric characters required: {1}.

QUESTION: How can I display the actual value of {0} and {1}?

Thanks in advance.

Regards,
Antonio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top