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. How to get modified value from dynamically created textbox

How to get modified value from dynamically created textbox

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasetutorial
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.
  • S Offline
    S Offline
    Sapan Roy
    wrote on last edited by
    #1

    Hi, All :doh: I have a critical problem. I have created a table which is completely dynamic having some textboxs, checkboxs, dropdowns etc. It contains data from database. I stuck when I click on Edit and then Update. The Update button's event handler is not able to access modified data rather it is accessing the old data. I am using c# and asp.net 2.0. I am using user control which contain this table. Is there any way to retrieve modified data from the textbox. Plz Help me out.. Thanks Sapan If u don't succeed then try and try again, because man are born to succeed not to fail.

    V 1 Reply Last reply
    0
    • S Sapan Roy

      Hi, All :doh: I have a critical problem. I have created a table which is completely dynamic having some textboxs, checkboxs, dropdowns etc. It contains data from database. I stuck when I click on Edit and then Update. The Update button's event handler is not able to access modified data rather it is accessing the old data. I am using c# and asp.net 2.0. I am using user control which contain this table. Is there any way to retrieve modified data from the textbox. Plz Help me out.. Thanks Sapan If u don't succeed then try and try again, because man are born to succeed not to fail.

      V Offline
      V Offline
      Viral Upadhyay
      wrote on last edited by
      #2

      first you must save your changed data to session or some other way in page. Then in update method use that value so you will get updated value.

      Viral YahooID : just_viral My Site : www.theseoworld.info

      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