Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8206319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:37:32+00:00 2026-06-07T08:37:32+00:00

I currently have a page with a search bar. When the user enters something

  • 0

I currently have a page with a search bar. When the user enters something to search, the page is filled with search results. When the user clicks on one of the search results rows and navigates to another page to edit information and there is a cancel button. If the user clicks the cancel button they will be returned back to the search page and they will have to enter text again to search. How can create it so that when they click cancel they will be returned to the search page but with previous search results. Many examples or information on this will be appreciated.

This is what my cancel button looks like:

<a class="printRemove" id="cancel" href='<%: Url.Action("Search","Office") %>'>
<img alt="" src="<%:Url.Content("~/Content/images/newCancel.png") %>"/>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:37:33+00:00Added an answer on June 7, 2026 at 8:37 am

    on your cancel button call history.back(-1)

    OR pass values, required for search, back on cancel button and search again .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page of search results, and clicking one opens a new window
I currently have two divs, one that contains a search bar and one that
I currently have an advanced search page that searches a number of fields in
I have a page where there is currently more than one form. I used
I have a page that is an search where the results are loaded via
I have a page of search results, each of which has an icon to
I currently have a url like: http://testsite.local/search/?q=findme for my search page once someone makes
I currently have a fixed div that acts as a search bar on the
I currently have a page which is declared as follows: public partial class MyPage
I currently have a product view page that contains an MVCContrib HTML Grid with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.