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. Retrieve text from textox in a dynamically template field from Gridview

Retrieve text from textox in a dynamically template field from Gridview

Scheduled Pinned Locked Moved ASP.NET
3 Posts 3 Posters 3 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.
  • K Offline
    K Offline
    kaushik_Manoj
    wrote on last edited by
    #1

    Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards

    A N 2 Replies Last reply
    0
    • K kaushik_Manoj

      Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      Hi, Could u please send your code n requirement?

      Regards Anil Pal

      1 Reply Last reply
      0
      • K kaushik_Manoj

        Hi, I am having a gridview at runtime in which I add row or column on click action of add row and add column buttons. however in the Postback event I am not able to retrieve the text box in the templated column. Kindly provide any idea, what I need to do Thanks and regards

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        It's a viewstate issue. Which event are you using to create the GridView? Read about the page lifecycle and viewstate management. ASP.NET will not maintain viewstate for controls created after viewstate events in the page life cycle. :)

        Navaneeth How to use google | Ask smart questions

        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