retaining info after postback

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel Pineda

    retaining info after postback

    hi, i'm creating a table with rows on runtime.
    the rows are added through some option on the page (not from db).

    but when i do a postback a miss the info.
    how could i retain that info?

    please help!


  • Mark Rae [MVP]

    #2
    Re: retaining info after postback

    "Gabriel Pineda" <gabrielpineda2 001@hotmail.com wrote in message
    news:OU3TrWZmIH A.4208@TK2MSFTN GP02.phx.gbl...
    hi, i'm creating a table with rows on runtime.
    the rows are added through some option on the page (not from db).
    >
    but when i do a postback a miss the info.
    how could i retain that info?
    Dynamic tables are not maintained across postback - they need to be
    recreated each time the page loads...


    --
    Mark Rae
    ASP.NET MVP


    Comment

    • =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

      #3
      RE: retaining info after postback

      Store the data in Session State (if user specific, otherwise Cache state) and
      recreate the table and data on postback from what you stored.
      -- Peter
      Site: http://www.eggheadcafe.com
      UnBlog: http://petesbloggerama.blogspot.com
      Short Urls & more: http://ittyurl.net


      "Gabriel Pineda" wrote:
      hi, i'm creating a table with rows on runtime.
      the rows are added through some option on the page (not from db).
      >
      but when i do a postback a miss the info.
      how could i retain that info?
      >
      please help!
      >
      >
      >

      Comment

      Working...