I'm writing a htmlhelper in my proyect like this:
public static MvcHtmlString ActionLinkSpan(this HtmlHelper html, string linkText, string actionName, string controllerName, object htmlAttributes)
{
var a = new TagBuilder("a");/*some code*/return MvcHtmlString.Create(a.ToString());
}
and work fine, my doubt is this: when i use
@Html.ActionLink("test", "action", "controller")
the VS suggest me the cotroller's name and then the action's name, in the custom htmlhelper don't. So my question is: There is a way to make VS suggest me the values of the controllers and actions parametres? Thanks in advance.