Hey all, I have a problem with a form that i am submitting here's what's going on:
- A gridview is populated with values and html textbox controls varying on sql column data types (this happens on each page_init) the gridview's viewstate along with those controls is disabled
- when the submit button is pressed it loops trough all the gridview rows (they got repopulated with correct textbox.text values) and a dynamic update query is constructed + transmitted
This works but when I revisit the form (via a display list) the textbox value's get the value before the earlier postback occurred (altough this can't happen since I double checked the values and the right ones are updated/retrieved in the database). Once I used a manual refresh (f5) the correct value is shown in the textbox.
I hope that I explained this problem clear enough, help would be appriciated
- A gridview is populated with values and html textbox controls varying on sql column data types (this happens on each page_init) the gridview's viewstate along with those controls is disabled
- when the submit button is pressed it loops trough all the gridview rows (they got repopulated with correct textbox.text values) and a dynamic update query is constructed + transmitted
This works but when I revisit the form (via a display list) the textbox value's get the value before the earlier postback occurred (altough this can't happen since I double checked the values and the right ones are updated/retrieved in the database). Once I used a manual refresh (f5) the correct value is shown in the textbox.
I hope that I explained this problem clear enough, help would be appriciated