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. TextBox in Repeater

TextBox in Repeater

Scheduled Pinned Locked Moved ASP.NET
helpquestion
2 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.
  • M Offline
    M Offline
    m dhu
    wrote on last edited by
    #1

    I created dynamic textboxes(Textbox1,Textbox2) in repeater control. i had a button. on button click the two text boxs are added any number of times.. the problem is the values in textboxs disappear when i click the button for second time... How do i store the values in textboxs.Tried updatepanel but it doesnt work too...

    A 1 Reply Last reply
    0
    • M m dhu

      I created dynamic textboxes(Textbox1,Textbox2) in repeater control. i had a button. on button click the two text boxs are added any number of times.. the problem is the values in textboxs disappear when i click the button for second time... How do i store the values in textboxs.Tried updatepanel but it doesnt work too...

      A Offline
      A Offline
      Arindam Tewary
      wrote on last edited by
      #2

      Hi, I didnt get why you have used a Update panel here. But you need to store values of text boxes in ViewState and rebind ( or re-associate) to textboxes so that values does not disappear on button click. Please let me know if you get it going. :)

      Thanks, Arindam D Tewary

      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