Dear All:
I have a gridview with multiple columns. Each of those columns has a search text box above it. When a search is done, the page does a database query and then refills the grid, which works fine.
The problem is that when people leave the page, and come back, they want to see the last (Search state) of the page, with the results of the previous search in the grid.
I have tried to implement this with sessions and view states but I haven't been able to get it to work well. I try to save the text in the textbox in a viewstate or session, (in the textchanged event) and then pull it out when the page loads...but that hasn't worked either.
Any ideas would be appreciated!
Regards
I have a gridview with multiple columns. Each of those columns has a search text box above it. When a search is done, the page does a database query and then refills the grid, which works fine.
The problem is that when people leave the page, and come back, they want to see the last (Search state) of the page, with the results of the previous search in the grid.
I have tried to implement this with sessions and view states but I haven't been able to get it to work well. I try to save the text in the textbox in a viewstate or session, (in the textchanged event) and then pull it out when the page loads...but that hasn't worked either.
Any ideas would be appreciated!
Regards