MVC query string

  • Thread starter Thread starter Wild.Bill
  • Start date Start date
W

Wild.Bill

Guest
Firstly, sorry if this is in the wrong spot, but I don't understand the new forum setup at all.


What I've got is a MVC page that lists a bunch of things, let's say orders. The page can be filtered by customer or item. You can also click a link to create a new order. What I want to do is pass the query string from the index to the create (if it is present).


I thought I could do this

@Html.ActionLink("Create New", "Create", "Orders", Context.Request.QueryString)

But the query string gets encoded so will not work.

Continue reading...
 
Back
Top