In my datagrid, I have a link called view details. This link is within the datagrid to view the details of each product.
When the user clicks on the link it will take the user to a page called 'viewdetails.aspx' and display the details of that particular product.
I have a back button in viewdetails.aspx to come back to the same page (search.aspx) where the datagrid is showing the result of the other products.
When the user comes back the datagrid becomes empty. I want the search result to remain in the datagrid. Then only the user can see the other products.
How can I do this? I am using objectdatasource to display the search results in the datagrid.
Gridview refreshing
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Posted Sep 29, 2008, 3:20 AM EDT
you can do one thing on the back button click pass your search critria using query string and on sercah form load take the values from query string and fill the grid