1

I have the following code generated by default from asp.net mvc

@Html.ActionLink("Details", "Details", new { item.ORG_ID  })

But I am using an open source web template where I can display a user friendly button such as:-

<a class="btn btn-success" href="#">
<i class="icon-zoom-in icon-white"></i>
View
</a>

So my question is ; how I can convert the html.actionlink to be <A> link Regards

4

1 回答 1

3
<a class="btn btn-success" href="@Url.Action("Details", new { item.ORG_ID  })">
    <i class="icon-zoom-in icon-white"></i>
    View
</a>
于 2013-07-04T16:09:00.760 回答