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. Post Back problem !!!

Post Back problem !!!

Scheduled Pinned Locked Moved ASP.NET
helpwpfwcf
5 Posts 5 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
    mithun narayanan
    wrote on last edited by
    #1

    hi i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes.. plz help

    A S G A 4 Replies Last reply
    0
    • M mithun narayanan

      hi i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes.. plz help

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Try with Ajax !!!

      Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

      1 Reply Last reply
      0
      • M mithun narayanan

        hi i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes.. plz help

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Where are you binding the textbox ? you need to persist the values added/or bind the textbox in Initialize event. Also check the ViewState attribute of Page directive in the aspx page make true and try one more time

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        1 Reply Last reply
        0
        • M mithun narayanan

          hi i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes.. plz help

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Any controls that you add dynamically, you have to recreate every time the page reloads. The state of the controls is stored in ViewState, but not the controls themselves. If you just recreate the controls, they will pick up the state from ViewState themselves.

          Experience is the sum of all the mistakes you have done.

          1 Reply Last reply
          0
          • M mithun narayanan

            hi i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes.. plz help

            A Offline
            A Offline
            amargujrathi2006
            wrote on last edited by
            #5

            Hi, You can use Request.Form collection to get the values of textboxes parameter. For that you need to know their client ID. I think, this will useful. Regards, Amar

            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