List of helpful HTML helpers

Find your html helper today,

The List

Open link in new window: *DOES NOT WORK

@Html.ActionLink(Reports.RunReport, "RunReport", new { controller = "Performance", reportView = Model.ReportView.ToString() }, new { target = "_blank" })

JavaScript is required in some way shape or form.


Button to a controller action:

@Html.ActionLink("Create<-link", "CreateControl", new { controller = "Contentcontrol" }, new { @class = "btn btn-primary contentControlBtn" })

Resources: