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 field lost their values

Password field lost their values

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 2 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.
  • S Offline
    S Offline
    suveenmohan
    wrote on last edited by
    #1

    Hi All, Here in my application, I've 2 password fields, after filling data in these fields when i change the Dropdownlist value, page_load call autometicly and these password fields lost their values, which i need. Please help me i don't know, what to do. Regards SMK

    M 1 Reply Last reply
    0
    • S suveenmohan

      Hi All, Here in my application, I've 2 password fields, after filling data in these fields when i change the Dropdownlist value, page_load call autometicly and these password fields lost their values, which i need. Please help me i don't know, what to do. Regards SMK

      M Offline
      M Offline
      marky777
      wrote on last edited by
      #2

      You need to make the attributes of the textboxes persistent (they retain their values): txtPassword1.Attributes.Add("Value",txtPassword1.Text.ToString()); txtPassword2.Attributes.Add("Value",txtPassword2.Text.ToString()); Hope this helps :)

      S 1 Reply Last reply
      0
      • M marky777

        You need to make the attributes of the textboxes persistent (they retain their values): txtPassword1.Attributes.Add("Value",txtPassword1.Text.ToString()); txtPassword2.Attributes.Add("Value",txtPassword2.Text.ToString()); Hope this helps :)

        S Offline
        S Offline
        suveenmohan
        wrote on last edited by
        #3

        Hello, Thanx for ur cooperation, its working properly. Thanx once again. Regards SMK

        M 1 Reply Last reply
        0
        • S suveenmohan

          Hello, Thanx for ur cooperation, its working properly. Thanx once again. Regards SMK

          M Offline
          M Offline
          marky777
          wrote on last edited by
          #4

          Always glad to help... :-D

          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