Show / Hide Table of Contents

Class HtmlLinkExtensions

Inheritance
object
HtmlLinkExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public static class HtmlLinkExtensions

Methods

ActionLink(DnnHtmlHelper, string, string)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, object)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, object routeValues)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
object routeValues
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, object, object)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, object routeValues, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
object routeValues
object htmlAttributes
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, string)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, string controllerName)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
string controllerName
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, string, object, object)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, string controllerName, object routeValues, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
string controllerName
object routeValues
object htmlAttributes
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, string, string, string, string, object, object)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, string controllerName, string protocol, string hostName, string fragment, object routeValues, object htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
string controllerName
string protocol
string hostName
string fragment
object routeValues
object htmlAttributes
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, string, string, string, string, RouteValueDictionary, IDictionary<string, object>)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, string controllerName, string protocol, string hostName, string fragment, RouteValueDictionary routeValues, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
string controllerName
string protocol
string hostName
string fragment
RouteValueDictionary routeValues
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, string, RouteValueDictionary, IDictionary<string, object>)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, string controllerName, RouteValueDictionary routeValues, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
string controllerName
RouteValueDictionary routeValues
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, RouteValueDictionary)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, RouteValueDictionary routeValues)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
RouteValueDictionary routeValues
Returns
Type Description
MvcHtmlString

ActionLink(DnnHtmlHelper, string, string, RouteValueDictionary, IDictionary<string, object>)

Declaration
public static MvcHtmlString ActionLink(this DnnHtmlHelper htmlHelper, string linkText, string actionName, RouteValueDictionary routeValues, IDictionary<string, object> htmlAttributes)
Parameters
Type Name Description
DnnHtmlHelper htmlHelper
string linkText
string actionName
RouteValueDictionary routeValues
IDictionary<string, object> htmlAttributes
Returns
Type Description
MvcHtmlString
Back to top by the community, for the community... #DNNCMS