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
Loading
Jignesh TrivediPosted Jan 21, 2013, 12:18 AM
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.