Top "Actionlink" questions

In ASP.

HTML.ActionLink method

Let's say I have a class public class ItemController:Controller { public ActionResult Login(int id) { return View("Hi", id); } } On …

c# .net asp.net-mvc html-helper actionlink
Html.ActionLink as a button or an image, not a link

In the latest (RC1) release of ASP.NET MVC, how do I get Html.ActionLink to render as a button …

asp.net-mvc actionlink
ASP.NET MVC ActionLink and post method

Can anyone tell me how can I submit values to Controller using ActionLink and POST method? I don't want to …

asp.net-mvc actionlink
Putting HTML inside Html.ActionLink(), plus No Link Text?

I have two questions: I'm wondering how I can display no link text when using Html.ActionLink() in an MVC …

c# .net asp.net-mvc actionlink
ActionLink htmlAttributes

WORKS <a href="@Url.Action("edit", "markets", new { id = 1 })" data-rel="dialog" data-transition="pop" data-icon="gear" class="ui-btn-right">Edit&…

asp.net-mvc asp.net-mvc-2 actionlink html.actionlink
Delete ActionLink with confirm dialog

I'm trying to implement a simple ActionLink that will delete records using ASP.NET MVC. This is what I have …

asp.net-mvc actionlink
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
ActionLink with multiple parameters

I want to create a URL like /?name=Macbeth&year=2011 with my ActionLink which I have tried doing like …

asp.net-mvc actionlink
ASP.NET MVC add css class to actionlink

How do I add a css class to this actionlink? I have read you do it something like new { class = …

asp.net-mvc actionlink
Html.ActionLink with a specified HTML id?

I'd like to give the like generated with an Html.ActionLink an HTML id so I can change the CSS …

css asp.net-mvc asp.net-mvc-2 html-helper actionlink