views:

61

answers:

0

hi

i have a search page using a number of items in a form to run a search that fills a gridview with data. the whole form is wrapped in an UpdatePanel. the form works a treat - it, based on the form dropdowns etc, calls a webservice and populates a gridview with the results... fairly standard stuff. however, once the grid is bound the user will inevitably click a link from the grid and navigate off to another page. unfortunately when the user then decides they want to return to the grid by using the back button the grid is wiped and the user would have to perform the search all over again - which is a real pain as the webservice calls aren't super fast.. the dataset for the grid is actually saved into the Session (for ease of paging etc) so its not like the data has been lost.. i understand the problem here relates to History points and the fact that ScriptManagers need some extra logic in order to work with the back button. However.. I have set the EnableHistory to TRUE in the ScriptManager hoping this might do the trick.. its not that i want the back/forward buttons to work inside the page, but just when the user backs to the search after having been somewhere else..

at the moment i have had to make the links from the grid load in a new window. but this is far from ideal. of course if i ditch the updatepanel/scriptmanager the back(ing) to the search works fine and all the data is there. but as i say the search takes rather a long time, and having a spinny loading logo helps to ease the pain of this.

can anyone suggest a solution, so that i can back to the search and the data still be there? would be eternally grateful

thanks

nat