Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Password Text Box

Password Text Box

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmlvisual-studio
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrkeivan
    wrote on last edited by
    #1

    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

    H N E 3 Replies Last reply
    0
    • M mrkeivan

      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

      H Offline
      H Offline
      Herman T Instance
      wrote on last edited by
      #2

      You can use the Textbox. Set Property TextBoxMode to Password (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.textboxmode.aspx)

      M 1 Reply Last reply
      0
      • M mrkeivan

        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

        N Offline
        N Offline
        Nirandas
        wrote on last edited by
        #3

        The Request.Forms collection contains all the form fields submitted by the client. HTH

        Nirandas, a developer from India. http://www.nirandas.com

        1 Reply Last reply
        0
        • M mrkeivan

          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

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          You also have to be careful with themeing because if you declare a textbox in here you cannot then change it to type password in another page unless it is set to password in the theme page

          1 Reply Last reply
          0
          • H Herman T Instance

            You can use the Textbox. Set Property TextBoxMode to Password (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.textboxmode.aspx)

            M Offline
            M Offline
            mrkeivan
            wrote on last edited by
            #5

            Thanx buddy !

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups