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 552389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:29:41+00:00 2026-05-13T11:29:41+00:00

I have a simple ASP.NET MVC application, like movie sample. In the list.aspx page

  • 0

I have a simple ASP.NET MVC application, like movie sample.
In the list.aspx page I have a grid, the grid has information from the database.
I can fill the grid by search criteria.

For example, I select product.cost < 60, I commit. The grid is filled with product, where product cost<60.

After I click to details to view details of one product from result set.
After I click on Back to list (html.ActionLink("Back to list", "Index"). And in this moment generated my question. Because, will be shown all products.

What is the best way to save previous search criteria? (I need, when I click to “back to list”, previously saved search criteria).

  • 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-05-13T11:29:41+00:00Added an answer on May 13, 2026 at 11:29 am

    You can pass search criteria parameters as query string ex: <%= Html.ActionLink("Search", "Index", "Search", new {var=value1,var2=value2 }, new { })%>

    or you can also save criteria into Session object, but I think that passing it as query string is better solution for you.

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

Sidebar

Related Questions

I created a simple ASP.NET MVC version 1.0 application. I have a ProductController which
I have a simple ASP.NET MVC 3 application. I have the database I designed
I have written a simple test application using asp.net mvc with C#. The application
I have this simple Delete Get and Post methods in a asp.net mvc application
Let's say I have a simple ASP.NET MVC blog application and I want to
In my ASP.NET MVC application I have a view that displays a list of
I have VS2010, MVC3 and ASP.NET 4.0 with a simple test mvc application. The
I have a simple ASP.NET MVC web application that uses NHibernate with FluentNHibernate's auto
I have an ajax form in asp.net mvc which is as simple as this:
I have opened a sample ASP.NET MVC project. In HomeController I have created a

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.