0

I want to create text password property with masked input in my visual web part sharepoint 2010

1 Answer 1

0

You can use the normal method of creating custom property. And for the textbox you can choose TextMode as follows

txtPassword.TextMode = TextBoxMode.Password;

Here is an example on how to implement this https://rmanimaran.wordpress.com/2011/02/27/sharepoint-webpart-custom-properties-password-field-as-property/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.