This project is read-only.

ActionLink from plugin always redirects to host application Views causing error

Apr 30, 2013 at 3:05 PM
Standard @Html.ActionLink in plugin project try to call actions and views on host application and not as it should on current called plugin. Is there any workaround??
May 7, 2013 at 4:16 AM
I will check this issue later, thanks for your feedback.

May 14, 2013 at 8:59 AM
The standard @Html.ActionLink in plugin project works now since version, please download the new version and checkout.
I added a demo in MediaPlugin PopularTVShow\Index.cshtml, the code looks like this,
@foreach (var movie in Model)
            <td><a href="#">@movie.Name</a></td>
            <td> @Html.ActionLink("Delete", "Delete", new { plugin="MediaPlugin", id=movie.Id})</td>
The only thing is you need to specify the plugin name in the ActionLink parameter, this way, it tells the plugin framework which plugin this controller based in.