0
votes
2answers
736 views

need help canonicalizing an HTTP GET form in asp.net mvc

I have a form in an asp.net mvc site that serves 3 purposes: paging, sorting, and searching. These items should all be rendered in the same form, since returning the correct search results depends on ...
2
votes
2answers
3k views

setting query string in redirecttoaction in asp.net mvc

I have to do a redirecttoaction call in asp.net mvc view with varying params, extracted from the referrer page of the view (the status of a grid). I have (in an hidden field) the content of the query ...
2
votes
2answers
2k views

Persisting querystring parameter throughout site in ASP.Net MVC 2

http:www.site1.com/?sid=555 I want to be able to have the sid parameter and value persist whether a form is posted or a link is clicked. If the user navigates to a view that implements paging, then ...
1
vote
5answers
566 views

Hide Querystring in MVC action

I want to hide the Querystring into My controller's action. In my application scenariois something like this: 1) I have opened new action into new Window as: var check="Particular String" var ...
1
vote
1answer
1k views

ASP.NET MVC routing: with querystring to one action, without to another

I need the following routes: example.com/products goes to a product categories page (e.g. cars, trucks, buses, bikes) controller=Products, action=Categories() example.com/products?a=1&b=2 goes ...
0
votes
1answer
237 views

MVC routing doesn't pickup querystring

in my Global.ascx.cs, I have this setting for the routing: routes.MapRoute( "HomeTarget", "{TargetCode}", new { controller = "Home", action = "Index", TargetCode = "" }); routes.MapRoute( ...