I am having an issue. So, I have a search screen, when the user searches, it takes them to the search results. Within the search results, there is a button to go back to their search and that takes them back to the previous page, but it takes them back to the start page. I need to be able to through C# have it select the drop down value and reload the page that they were in before that is within the main page.
<asp:Button ID="btnBacktoSearch" runat="server" Text="Back to Search"
onclick="btnBacktoSearch_Click"/>
protected void btnBacktoSearch_Click(object sender, EventArgs e)
{
Response.Redirect("Search.aspx"); // Previous page
}
As I said before, it does go back to the search page, but it does not reselect and re-open whatever I had previously selected in the drop down to load an iframe within the page. Can anyone help? I have a page load function that select the appropriate value of drop down, but it doesn't do the same thing as changing it from the main screen.