Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Data in cells dispear after Webpage postback
posted

  Hello Everybody ,

  i am using the WebGrid to Show some data in aspx page ,the data is not from database and was inserted into the WebGrid from my Server Programm ,when  the WebPage is postback the data  i have inserted is dispear  , Can Anybody tell me how to  solve the problem ,thank you all.

Parents
No Data
Reply
  • 40
    posted

    Thank you for answering my  question .
    Yes i am using the grid in Unbound mode ,and as you say  i add the data in a postback event handler (say Button Click). In a another Button Click handler i use the active row's data to do some more work ,but when i want get the cell value in the grid ,the data disappear as i have said .
    the worst thing is that the data(sometimse a lot of data) i inserted is from another computer through net and  ,if every pageload time i must get it from net ,maybe cause something bad , is there any other way to solve the problem.

Children