Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remembering settings

Status
Not open for further replies.

ShaneBrennan

Programmer
May 19, 1999
198
GB
good afternoon.

I am very new to ASP.NET, MVC4, jQuery, etc.. so I apologize if I use wrong terminology I don;t fully understand any reply.
using MVC4 I have a list of clients (using the wijmo's wijgrid control) where I can click on a row to display the client details. Once saved I want to return to the list of clients - and return to the page I was on, instead of the list starting again.

I need to remember the pageIndex I was on before I displayed the client details. What would be the best way of doing this - and how?

o Using cookies to store the pageIndex before showing the client details?
o Passing the information forward via the Request url?
o having a db table to store the info?

thanks in advance for any help/guidance given.

Shane Brennan





Shane Brennan


 
I am not familiar with MVC, but I believe the best way when using MVC is to use a query string parameter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top