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. Please, help!!!

Please, help!!!

Scheduled Pinned Locked Moved ASP.NET
questionhelp
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.
  • G Offline
    G Offline
    Georgi Atanasov
    wrote on last edited by
    #1

    Hi, In my Timesheet aspx page I create dynamically a table with textboxes in it. As it depends on the Date selected the table is created after the page is loaded. My question may be a little stupid, but how can I get the text from those textboxes? I tried responding to a button click but that event is executed after the page loads again( and here is the problem - the textboxes are recreated with empty text ptoperty). I tried with the Session.Add method but failed... Please, I am in a hurry for that project! Any help or idea would be very much appreciated! Thanks, Georgi

    M 1 Reply Last reply
    0
    • G Georgi Atanasov

      Hi, In my Timesheet aspx page I create dynamically a table with textboxes in it. As it depends on the Date selected the table is created after the page is loaded. My question may be a little stupid, but how can I get the text from those textboxes? I tried responding to a button click but that event is executed after the page loads again( and here is the problem - the textboxes are recreated with empty text ptoperty). I tried with the Session.Add method but failed... Please, I am in a hurry for that project! Any help or idea would be very much appreciated! Thanks, Georgi

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

      use ViewState, add the textboxes to the viewstate and leave all on the ASP.NET, on the postback get the value of each from the viewstate. hope it answered ur question

      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