Posted on 2006-11-13
On my web page I have a DataView that is displaying results of a SQL table. I've done some form validation to check if the user entered text into a textbox. If the user forgets to enter text in the textbox and clicks the Submit Request button, a Label displays an alert telling them to enter text. The problem is, is when the user clicks the Submit Request button, the page reloads and my DataView disappears, I would guess because there is no data for the DataView to display.
Is there a way for me to keep the values of the DataView when the Submit Request button is clicked and the page is refreshed?