Hi All,
i have following of markup
Know more
in one of cshtml.
I redirect user to this page using following javascript
the problem is when user is redirected to the cshtml page the redirection is happening as;
controllerName/controllerName/ActionMethodName...
Kindly help
thanks in advance
Anchor tag repeating controller name asp.net MVC 4
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 20, 2013, 7:18 PM EST
hi,
you can use html extension to create link
@Html.ActionLink("Link Text", "Action Name", "Controller Name")
please refer
http://msdn.microsoft.com/en-us/library/dd505070%28v=vs.108%29.aspx
hope this will help you.