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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. keep text from textbox with textmode set to password

keep text from textbox with textmode set to password

Scheduled Pinned Locked Moved ASP.NET
helplearning
3 Posts 3 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.
  • B Offline
    B Offline
    Britney S Morales
    wrote on last edited by
    #1

    I got a problem to keep the textbox's text (textmode = password) when i do a page postback. the text just dont appear and i have to write it again, you know any solution in order to set the password textbox behavior just like the normal textbox behavior. :((

    keep Learning and you never will be out of date...

    _ S 2 Replies Last reply
    0
    • B Britney S Morales

      I got a problem to keep the textbox's text (textmode = password) when i do a page postback. the text just dont appear and i have to write it again, you know any solution in order to set the password textbox behavior just like the normal textbox behavior. :((

      keep Learning and you never will be out of date...

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      You can't do it like normal textbox. What you need to do is set the value of that something like this: TextBox2.Attributes.Add("value","kaushal"); :)

      Best Regards, Apurva Kaushal

      1 Reply Last reply
      0
      • B Britney S Morales

        I got a problem to keep the textbox's text (textmode = password) when i do a page postback. the text just dont appear and i have to write it again, you know any solution in order to set the password textbox behavior just like the normal textbox behavior. :((

        keep Learning and you never will be out of date...

        S Offline
        S Offline
        Suresh Pirsquare
        wrote on last edited by
        #3

        Set EnableViewState property of the textbox to false. :) Thanks & regards, Suresh Dayma

        Everything Is Possible!

        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