Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
3216 Points
710 Posts
Apr 24, 2012 02:29 PM|LINK
The correct overload is (string linkText, string actionName, string controllerName, object routeValues, object htmlAttributes) Your incorrect overload points to (string linkText, string actionName, object routeValues, object htmlAttributes)
The overload you want to use requires 5 arguments, but you only pass in 4. It should be:
@Html.ActionLink("Check Availability", "CheckAvail", "Booking", new { id = item.ShowId }, null)
JohnLocke
Contributor
3216 Points
710 Posts
Re: Problem with @HtmlActionLink
Apr 24, 2012 02:29 PM|LINK
The correct overload is (string linkText, string actionName, string controllerName, object routeValues, object htmlAttributes)
Your incorrect overload points to (string linkText, string actionName, object routeValues, object htmlAttributes)
The overload you want to use requires 5 arguments, but you only pass in 4. It should be:
@Html.ActionLink("Check Availability", "CheckAvail", "Booking", new { id = item.ShowId }, null)