The C1InputMaskExtender widget allows you to use password characters so that the actual password or social security number doesn't appear on the screen.
Mask |
000-00-0000 |
PasswordChar |
# |
HidePromptOnLeave |
True |
8. Click the drop-down list at the top of the Properties window and select TextBox2_C1InputMaskExtender. Set the following properties:
Mask |
CCCCCCC |
PasswordChar |
* |
HidePromptOnLeave |
True |
9. Press F5 to run the application and enter numbers in the first textbox. They are hidden by the '#' character. Enter numbers or letters in the second textbox. They are hidden by the '*' character.