How do I correct this so that the ActionLink reverts to http://localsite/forum/index/4
(where 4 is defined by the parent_id as shown below):
@Html.ActionLink("Cancel", "Index", "Forum", new { @class = "btn"}, new{ @id=ViewBag.parent_id })
Currently it reverts to:
http://localhost:53731/Forum?class=btn
Thanks for your help,
Mark