ActionButton instead of ActionLink
Here is an example using Bootstrap's CSS button and applying it against the link to make it look exactly like the button.
@Html.ActionLink("Select", "Select", new { id = patient.Id }, new { @class = "btn btn-primary", @style = "color:white" })
This seems very simple - am I missing something?
@Html.ActionLink("About", "About","Home", new { @class = "btn btn-success" })
Is there some other way?
You could use a html <form>
:
@using (Html.BeginForm("someAction", "someController"))
{
<button type="submit">OK</button>
}