Click here to Skip to main content
15,887,861 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have html tag and I need to convert it into mvc html helper

What I have tried:

html,

HTML
<a class="edit"> Edit </a>


MCV,

HTML
@Html.ActionLink("View", "Letter", "Time", new { ActionItem =item.RnActionId }, null)
Posted
Updated 21-Nov-16 0:47am
v3

1 solution

refer this LinkExtensions.ActionLink Method (System.Web.Mvc.Html)[^] and select which over-loading you need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900