Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more: (untagged)
Hey guys, I know this is something really silly to ask but I'm too tired right now to look for it ! ;-P
I want to have a password field, I can't use a TextBox because it doesn't have the part where I can set the character to dot or star, so I used HTML Input(Password) how can I access it ? I 've given it a name but it's not recognized by Visual Studio ! :(


Mr.K
Posted

You can use the Textbox. Set Property TextBoxMode to Password (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.textboxmode.aspx)
 
Share this answer
 
If you want to access HTML input,



you need to add runat="server" attribute with input type. Now Visual Studio find it.
 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900