I ahev a GridView filled with ASP.NET Texboxes which I create on Grid_DataBind event. we have a functionality where user can change value in a textbox and then revert changes. Revert goes into DB and gets all the old values and reloads the grid, re-creating all the textboxes.
The problem: when the grid refreshes, I still see the new value in the cell(before revert). When I debug ondatabind event, I see that code assigns a correct value to the textbox. So somewhere the incorrect vlaue is being cached?
I disabled ViewState for the page(which is a content page) as well as viewstate for the grid. Also, we're re-creating textboxes each time. What else could it be???
Thanks for any tips!
The problem: when the grid refreshes, I still see the new value in the cell(before revert). When I debug ondatabind event, I see that code assigns a correct value to the textbox. So somewhere the incorrect vlaue is being cached?
I disabled ViewState for the page(which is a content page) as well as viewstate for the grid. Also, we're re-creating textboxes each time. What else could it be???
Thanks for any tips!