Top "Routevalues" questions

How do I create the correct route values for this ActionLink?

The Model of SearchResults.aspx is an instance of PersonSearch; when the request for a new page arrive (a GET …

c# asp.net-mvc actionlink routevalues
How to specify controller in ActionLink html helper in C#

I have a web application developed in ASP.NET MVC3 with C# and Razor. I would like to call a …

c# asp.net-mvc-3 actionlink routevalues
MVC ActionLink add all (optional) parameters from current url

The very famous ActionLink: <%: Html.ActionLink("Back to List", "Index")%> Now, this link is in my Details view. …

c# asp.net asp.net-mvc actionlink routevalues
How to parse a string URL into MVC Route Values (area, controller, action, querystring)?

Is there a method to extract the area, controller, action, and querystring from a URL in ASP.NET MVC? Don't …

asp.net-mvc parsing asp.net-mvc-2 url routevalues
MVC dynamic routeValues for ActionLinks

I have a need to use ActionLink to link to ann edit screen for my ViewModel A. A has a …

c# asp.net-mvc-3 anonymous-types routevalues
Pass Dictionary of routeValues to ActionLink

All, Getting to grips with ASP.NET MVC. So far, so good, but this one is a little nuts. I …

asp.net asp.net-mvc actionlink routevalues
How to add a parameter to the current URL in a view?

I have a web application based an ASP.NET MVC4 in which I use a layout that contains three language …

c# asp.net-mvc-4 razor hyperlink routevalues
RouteValueDictionary/object problem in mvc ActionLink

so here it goes: I have a html helper which renders ActionLinks with the optional parameters of the current url …

asp.net-mvc actionlink routevalues
Adding dynamic parameters with Html.BeginForm and jQuery submit

// html <% using (Html.BeginForm("MyAction", "MyController", new { id = ViewContext.RouteData.Values["id"] }, FormMethod.Post, new { enctype = "multipart/form-data", class="…

jquery asp.net-mvc form-submit routevalues html.beginform